[perl-Hook-LexWrap] Update to 0.25

Paul Howarth pghmcfc at fedoraproject.org
Tue Oct 21 11:08:34 UTC 2014


commit c5e5e1ff034a8c8de881a9458d469abdcdae8ba9
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Oct 21 12:06:29 2014 +0100

    Update to 0.25
    
    - New upstream release 0.25
      - Fix for perl 5.21.4: ensure barewords are parsed properly (CPAN RT#99021,
        Perl RT#122757)
    - This release by ETHER → update source URL
    - Package new upstream documentation and license file
    - No longer need to fix line endings
    - Classify buildreqs by usage
    - Silence bogus warning about not having bleeding edge build modules

 perl-Hook-LexWrap.spec |   42 ++++++++++++++++++++++++++++++++----------
 sources                |    2 +-
 2 files changed, 33 insertions(+), 11 deletions(-)
---
diff --git a/perl-Hook-LexWrap.spec b/perl-Hook-LexWrap.spec
index b2aa414..4a05ab0 100644
--- a/perl-Hook-LexWrap.spec
+++ b/perl-Hook-LexWrap.spec
@@ -1,17 +1,27 @@
 Name:           perl-Hook-LexWrap
-Version:        0.24
-Release:        6%{?dist}
+Version:        0.25
+Release:        1%{?dist}
 Summary:        Lexically scoped subroutine wrappers
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Hook-LexWrap/
-Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Hook-LexWrap-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Hook-LexWrap-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
-BuildRequires:  perl(Carp)
+# Module Build
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Module Runtime
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(overload)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Test Suite
+BuildRequires:  perl(CPAN::Meta) >= 2.120900
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod) >= 1.14
+# Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -24,11 +34,8 @@ works correctly within the wrapped subroutine.
 %prep
 %setup -q -n Hook-LexWrap-%{version}
 
-# Fix line endings
-sed -i -e 's/\r$//' Changes README demo/*
-
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
@@ -44,11 +51,26 @@ make test
 rm -rf %{buildroot}
 
 %files
-%doc Changes README demo/
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes CONTRIBUTING README demo/
 %{perl_vendorlib}/Hook/
 %{_mandir}/man3/Hook::LexWrap.3pm*
 
 %changelog
+* Tue Oct 21 2014 Paul Howarth <paul at city-fan.org> - 0.25-1
+- Update to 0.25
+  - Fix for perl 5.21.4: ensure barewords are parsed properly (CPAN RT#99021,
+    Perl RT#122757)
+- This release by ETHER → update source URL
+- Package new upstream documentation and license file
+- No longer need to fix line endings
+- Classify buildreqs by usage
+- Silence bogus warning about not having bleeding edge build modules
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.24-6
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 36415bc..66c4717 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3c08c1f388c529c532f71422d33913d1  Hook-LexWrap-0.24.tar.gz
+140af3d36b3e80dce414b9a68adf0ad8  Hook-LexWrap-0.25.tar.gz


More information about the scm-commits mailing list