update to 0.12

This commit is contained in:
Iain Arnell 2011-03-13 11:12:54 +01:00
parent 806c46b05b
commit 2bbfc2d110
3 changed files with 10 additions and 14 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
namespace-autoclean-0.11.tar.gz
/namespace-autoclean-0.12.tar.gz

View File

@ -1,12 +1,11 @@
Name: perl-namespace-autoclean
Version: 0.11
Release: 3%{?dist}
Version: 0.12
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Keep imports out of your namespace
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/namespace-autoclean-%{version}.tar.gz
Source: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/namespace-autoclean-%{version}.tar.gz
Url: http://search.cpan.org/dist/namespace-autoclean
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
@ -14,14 +13,11 @@ BuildRequires: perl(B::Hooks::EndOfScope) >= 0.07
BuildRequires: perl(Class::MOP) >= 0.80
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(List::Util)
BuildRequires: perl(namespace::clean) >= 0.11
BuildRequires: perl(namespace::clean) >= 0.20
BuildRequires: perl(Test::More)
### auto-added reqs!
Requires: perl(B::Hooks::EndOfScope) >= 0.07
Requires: perl(Class::MOP) >= 0.80
Requires: perl(List::Util)
Requires: perl(namespace::clean) >= 0.11
%{?perl_default_filter}
@ -45,8 +41,6 @@ method, according to 'Class::MOP::Class::get_method_list'.
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@ -56,9 +50,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
@ -66,6 +57,10 @@ rm -rf %{buildroot}
%{_mandir}/man3/*.3*
%changelog
* Sun Mar 13 2011 Iain Arnell <iarnell@gmail.com> 0.12-1
- update to latest upstream version
- clean up spec for modern rpmbuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

View File

@ -1 +1 @@
25a1339256c844332637331c80a2f62a namespace-autoclean-0.11.tar.gz
6c433fdcb070eec03e20b1e2d34bbf12 namespace-autoclean-0.12.tar.gz