Update to 0.23
- New upstream release 0.23 - Rely on B::Hooks::EndOfScope version 0.10 to fix issues with new Module::Runtime versions (≥ 0.012) on perl 5.10 due to incorrect hook firing due to %^H localisation - Fix failures on 5.13.6 due to incorrect version number threshold (CPAN RT#74683) - Don't need to remove empty directories from buildroot - Drop %defattr, redundant since rpm 4.4
This commit is contained in:
parent
30a476724a
commit
e7f9243319
@ -6,7 +6,7 @@
|
||||
|
||||
Name: perl-namespace-clean
|
||||
Summary: Keep your namespace tidy
|
||||
Version: 0.22
|
||||
Version: 0.23
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -15,7 +15,7 @@ Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/namespace-clean-%
|
||||
Patch1: namespace-clean-0.22-old-Test::More.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.10
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Devel::Hide)
|
||||
BuildRequires: perl(Exporter)
|
||||
@ -31,7 +31,7 @@ Requires: perl(Sub::Identify) >= 0.04
|
||||
Requires: perl(Sub::Name) >= 0.04
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(B::Hooks::EndOfScope) >= 0.07
|
||||
Requires: perl(B::Hooks::EndOfScope) >= 0.10
|
||||
|
||||
# Obsolete/Provide old tests subpackage
|
||||
# Can be removed during F19 development cycle
|
||||
@ -76,7 +76,6 @@ make %{?_smp_mflags}
|
||||
rm -rf %{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
@ -86,12 +85,21 @@ make test
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes %{?perl_default_filter:t/}
|
||||
%{perl_vendorlib}/namespace/
|
||||
%{_mandir}/man3/namespace::clean.3pm*
|
||||
|
||||
%changelog
|
||||
* Sun Mar 11 2012 Paul Howarth <paul@city-fan.org> - 0.23-1
|
||||
- Update to 0.23
|
||||
- Rely on B::Hooks::EndOfScope version 0.10 to fix issues with new
|
||||
Module::Runtime versions (≥ 0.012) on perl 5.10 due to incorrect hook
|
||||
firing due to %^H localisation
|
||||
- Fix failures on 5.13.6 due to incorrect version number threshold
|
||||
(CPAN RT#74683)
|
||||
- Don't need to remove empty directories from buildroot
|
||||
- Drop %%defattr, redundant since rpm 4.4
|
||||
|
||||
* Fri Jan 27 2012 Paul Howarth <paul@city-fan.org> - 0.22-1
|
||||
- Update to 0.22
|
||||
- Limit the debugger workarounds to perls between 5.8.8 and 5.14, extend
|
||||
|
Loading…
Reference in New Issue
Block a user