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
epel9
Paul Howarth 10 years ago
parent 4a89be5d8d
commit c5e5e1ff03

@ -1,17 +1,27 @@
Name: perl-Hook-LexWrap Name: perl-Hook-LexWrap
Version: 0.24 Version: 0.25
Release: 6%{?dist} Release: 1%{?dist}
Summary: Lexically scoped subroutine wrappers Summary: Lexically scoped subroutine wrappers
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Hook-LexWrap/ 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) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl(Carp) # Module Build
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) 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::More)
BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod) >= 1.14
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description %description
@ -24,11 +34,8 @@ works correctly within the wrapped subroutine.
%prep %prep
%setup -q -n Hook-LexWrap-%{version} %setup -q -n Hook-LexWrap-%{version}
# Fix line endings
sed -i -e 's/\r$//' Changes README demo/*
%build %build
perl Makefile.PL INSTALLDIRS=vendor PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -44,11 +51,26 @@ make test
rm -rf %{buildroot} rm -rf %{buildroot}
%files %files
%doc Changes README demo/ %if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc Changes CONTRIBUTING README demo/
%{perl_vendorlib}/Hook/ %{perl_vendorlib}/Hook/
%{_mandir}/man3/Hook::LexWrap.3pm* %{_mandir}/man3/Hook::LexWrap.3pm*
%changelog %changelog
* Tue Oct 21 2014 Paul Howarth <paul@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@redhat.com> - 0.24-6 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.24-6
- Perl 5.20 rebuild - Perl 5.20 rebuild

@ -1 +1 @@
3c08c1f388c529c532f71422d33913d1 Hook-LexWrap-0.24.tar.gz 140af3d36b3e80dce414b9a68adf0ad8 Hook-LexWrap-0.25.tar.gz

Loading…
Cancel
Save