[perl-PadWalker] Update to 1.99

Paul Howarth pghmcfc at fedoraproject.org
Tue Nov 11 19:11:25 UTC 2014


commit 18f49b411d7c66b22504d6860e73a93d5e9d3a0d
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Nov 11 19:08:05 2014 +0000

    Update to 1.99
    
    - New upstream release 1.99
      - Make it compatible with bleadperl (CPAN RT#100262)

 perl-PadWalker.spec |   22 ++++++++++++++--------
 sources             |    2 +-
 2 files changed, 15 insertions(+), 9 deletions(-)
---
diff --git a/perl-PadWalker.spec b/perl-PadWalker.spec
index 47c9563..fe8d8bf 100644
--- a/perl-PadWalker.spec
+++ b/perl-PadWalker.spec
@@ -1,20 +1,22 @@
 Name:           perl-PadWalker
-Version:        1.98
-Release:        4%{?dist}
+Version:        1.99
+Release:        1%{?dist}
 Summary:        Play with other people's lexical variables
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/PadWalker/
 Source0:        http://www.cpan.org/authors/id/R/RO/ROBIN/PadWalker-%{version}.tar.gz
+# Build:
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time
 BuildRequires:  perl(DynaLoader)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(vars)
-BuildRequires:  perl(warnings)
 # Tests:
 BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(warnings)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
@@ -28,14 +30,14 @@ those variables which are in scope at the point of the call.
 %setup -q -n PadWalker-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 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 {} \;
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
+%{_fixperms} %{buildroot}
 
 %check
 make test
@@ -47,6 +49,10 @@ make test
 %{_mandir}/man3/PadWalker.3pm*
 
 %changelog
+* Tue Nov 11 2014 Paul Howarth <paul at city-fan.org> - 1.99-1
+- Update to 1.99
+  - Make it compatible with bleadperl (CPAN RT#100262)
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.98-4
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 263a8c7..49eebd9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c4487293af8afd84b6739be296610e8f  PadWalker-1.98.tar.gz
+76025e0bb1366ef41bd851c31b7e9a42  PadWalker-1.99.tar.gz



More information about the perl-devel mailing list