Update to 0.27
- New upstream release 0.27 - Package with only ExtUtils::MakeMaker to ease installation on perl 5.6
This commit is contained in:
parent
70eca0c479
commit
67e3ced294
@ -1,6 +1,6 @@
|
||||
Name: perl-namespace-autoclean
|
||||
Version: 0.26
|
||||
Release: 4%{?dist}
|
||||
Version: 0.27
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
Summary: Keep imports out of your namespace
|
||||
@ -8,8 +8,11 @@ Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/namespace-auto
|
||||
URL: http://search.cpan.org/dist/namespace-autoclean
|
||||
BuildArch: noarch
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.039
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Module
|
||||
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.12
|
||||
BuildRequires: perl(List::Util)
|
||||
@ -21,7 +24,6 @@ BuildRequires: perl(warnings)
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||
BuildRequires: perl(File::Basename)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(overload)
|
||||
@ -60,14 +62,16 @@ anything that looks like a method.
|
||||
%setup -q -n namespace-autoclean-%{version}
|
||||
|
||||
%build
|
||||
perl Build.PL --installdirs=vendor
|
||||
./Build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
@ -76,6 +80,10 @@ perl Build.PL --installdirs=vendor
|
||||
%{_mandir}/man3/namespace::autoclean.3*
|
||||
|
||||
%changelog
|
||||
* Wed Sep 9 2015 Paul Howarth <paul@city-fan.org> - 0.27-1
|
||||
- Update to 0.27
|
||||
- Package with only ExtUtils::MakeMaker to ease installation on perl 5.6
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.26-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user