commit 7cefb441860c66c44ee3d376b82d12594712bc9f Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Tue Sep 18 18:20:48 2012 +0200 3.39_01 bump .gitignore | 1 + perl-PathTools.spec | 20 ++++++++++++-------- sources | 2 +- 3 files changed, 14 insertions(+), 9 deletions(-) --- diff --git a/.gitignore b/.gitignore index 977c23c..df0ed48 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /PathTools-3.33.tar.gz +/PathTools-3.39_01.tar.gz diff --git a/perl-PathTools.spec b/perl-PathTools.spec index 68a58ed..9f6c3f6 100644 --- a/perl-PathTools.spec +++ b/perl-PathTools.spec @@ -1,11 +1,12 @@ +%global cpan_version 3.39_01 Name: perl-PathTools -Version: 3.33 -Release: 8%{?dist} +Version: %(echo '%{cpan_version}' | tr _ .) +Release: 1%{?dist} Summary: PathTools Perl module (Cwd, File::Spec) License: (GPL+ or Artistic) and BSD Group: Development/Libraries URL: http://search.cpan.org/dist/PathTools/ -Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/PathTools-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/PathTools-%{cpan_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: BuildRequires: perl(Carp) @@ -18,7 +19,7 @@ BuildRequires: perl(vars) BuildRequires: perl(Carp::Heavy) BuildRequires: perl(Config) BuildRequires: perl(File::Path) -BuildRequires: perl(Test) +BuildRequires: perl(lib) BuildRequires: perl(Test::More) Requires: perl(Carp) Requires: perl(Scalar::Util) @@ -31,7 +32,10 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi %{summary}. %prep -%setup -q -n PathTools-%{version} +%setup -q -n PathTools-%{cpan_version} +# Remove bundled modules +rm -r t/lib +sed -i -e '/^t\/lib\//d' MANIFEST %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" @@ -39,11 +43,8 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT - find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -57,6 +58,9 @@ make test %{_mandir}/man3/* %changelog +* Tue Sep 18 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.39.01-1 +- 3.39_01 bump + * Wed Aug 15 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 3.33-8 - Specify all dependencies diff --git a/sources b/sources index f873064..231c704 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -92f0df032c399fadef2e2e647ebc3111 PathTools-3.33.tar.gz +0d171da166364180d32062c8e0b6f91c PathTools-3.39_01.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel