[perl-namespace-autoclean] update to 0.12
Iain Arnell
iarnell at fedoraproject.org
Sun Mar 13 10:24:38 UTC 2011
commit 2bbfc2d110cecebacba36956762c22e5642ae9eb
Author: Iain Arnell <iarnell at gmail.com>
Date: Sun Mar 13 11:12:54 2011 +0100
update to 0.12
.gitignore | 1 +
perl-namespace-autoclean.spec | 21 ++++++++-------------
sources | 2 +-
3 files changed, 10 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 69aa135..dd855f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
namespace-autoclean-0.11.tar.gz
+/namespace-autoclean-0.12.tar.gz
diff --git a/perl-namespace-autoclean.spec b/perl-namespace-autoclean.spec
index 9f9a9cf..132176f 100644
--- a/perl-namespace-autoclean.spec
+++ b/perl-namespace-autoclean.spec
@@ -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 at 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 at lists.fedoraproject.org> - 0.11-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index b8d30f3..b9a00a2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-25a1339256c844332637331c80a2f62a namespace-autoclean-0.11.tar.gz
+6c433fdcb070eec03e20b1e2d34bbf12 namespace-autoclean-0.12.tar.gz
More information about the perl-devel
mailing list