Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
94a9bdf754
!10 update version to 2023.0511
From: @xujing99 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2023-07-20 13:19:26 +00:00
xujing
067f3305e6 update version to 2023.0511 2023-07-20 20:17:50 +08:00
openeuler-ci-bot
a29d2bd03c
!8 [sync] PR-6: optimize the specfile
From: @openeuler-sync-bot 
Reviewed-by: @licihua 
Signed-off-by: @licihua
2022-10-24 08:57:54 +00:00
xujing
f95f191642 optimize the specfile
(cherry picked from commit 23a99c0c1aa1c2e08a2fdc29e028e81fc8d457dc)
2022-10-24 16:27:10 +08:00
openeuler-ci-bot
a1c4193c35 !4 update to version 2021.0814
Merge pull request !4 from 郭昭睿/master
2021-12-29 10:22:49 +00:00
guozhaorui
39e18d5c95 update version to 2021.0814 2021-12-03 17:05:28 +08:00
openeuler-ci-bot
6713dd42a2 !2 add yaml
Merge pull request !2 from jackie_wu123/master
2020-05-09 16:48:18 +08:00
jackie_wu123
3b2ca181d3 add yaml 2020-05-09 14:19:24 +08:00
openeuler-ci-bot
ea41999d5a !1 perl-Text-Tabs-Wrap
Merge pull request !1 from syyhao/init
2020-01-13 16:34:59 +08:00
openeuler-basic
dcbd13f4f2 delete redundant file 2020-01-13 09:46:15 +08:00
5 changed files with 19 additions and 60 deletions

View File

@ -1,56 +0,0 @@
From 425354918f774c39c68b79de55691ee262cdcb84 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Wed, 25 Mar 2015 17:57:05 +0100
Subject: [PATCH] Build from lib
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Building from lib.modern adds "modern::" prefix to manual pages.
This is a work-around for CPAN RT#103116. Creating symlink is not
enough for EU::MM.
Signed-off-by: Petr Písař <ppisar@redhat.com>
diff --git a/Makefile.PL b/Makefile.PL
index a8dbc7e..1b5b51a 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,10 +1,15 @@
use ExtUtils::MakeMaker;
+if (!-d 'lib') {
+ rename (($] > 5.010 ? 'lib.modern' : 'lib.old'), 'lib') or
+ die "Could not rename to lib: $!";
+}
+
WriteMakefile(
'NAME' => 'Text-Wrap',
'DISTNAME' => 'Text-Tabs+Wrap',
- 'VERSION_FROM' => 'lib.modern/Text/Wrap.pm',
+ 'VERSION_FROM' => 'lib/Text/Wrap.pm',
($] >= 5.005 ?
(
ABSTRACT => 'Expand tabs and do simple line wrapping',
@@ -21,16 +26,5 @@ WriteMakefile(
'dist' => { COMPRESS=>"gzip", SUFFIX=>"gz" },
'INSTALLDIRS' => 'perl',
- PM => ($] > 5.010 ?
- {
- 'lib.modern/Text/Tabs.pm' => '$(INST_LIBDIR)/Text/Tabs.pm',
- 'lib.modern/Text/Wrap.pm' => '$(INST_LIBDIR)/Text/Wrap.pm',
- }
- :
- {
- 'lib.old/Text/Tabs.pm' => '$(INST_LIBDIR)/Text/Tabs.pm',
- 'lib.old/Text/Wrap.pm' => '$(INST_LIBDIR)/Text/Wrap.pm',
- })
-
);
--
2.1.0

Binary file not shown.

Binary file not shown.

View File

@ -1,11 +1,10 @@
Name: perl-Text-Tabs+Wrap
Version: 2013.0523
Release: 418
Version: 2023.0511
Release: 1
Summary: Expand tabs and do simple line wrapping
License: TTWL
URL: https://metacpan.org/release/Text-Tabs%2BWrap
Source0: https://cpan.metacpan.org/authors/id/M/MU/MUIR/modules/Text-Tabs+Wrap-%{version}.tar.gz
Patch0: Text-Tabs+Wrap-2013.0523-Build-from-lib.patch
Source0: https://cpan.metacpan.org/authors/id/A/AR/ARISTOTLE/Text-Tabs+Wrap-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-interpreter perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) perl(Test::More)
@ -53,5 +52,17 @@ make test
%{_mandir}/man3/*
%changelog
* Thu Jul 20 2023 xujing <xujing125@huawei.com> - 2023.0511-1
- update version to 2023.0511
* Mon Oct 24 2022 xujing <xujing125@huawei.com> - 2021.0814-2
- optimize the specfile
* Fri Dec 3 2021 guozhaorui <guozhaorui1@huawei.com> - 2021.0814-1
- update version to 2021.0814
* Sun Jan 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 2013.0523-419
- Delete redundant file
* Mon Sep 16 2019 luhuaxin <luhuaxin@huawei.com> - 2013.0523-418
- Package init

4
perl-Text-Tabs+Wrap.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: metacpan
src_repo: Text-Tabs+Wrap
tag_prefix: "^v"
seperator: "."