[perl-Sub-Name] update to 0.05
Iain Arnell
iarnell at fedoraproject.org
Sat Dec 18 08:23:14 UTC 2010
commit bdbf91589df1ef5a84fea9042026f39105a1baf8
Author: Iain Arnell <iarnell at gmail.com>
Date: Sat Dec 18 09:22:55 2010 +0100
update to 0.05
.gitignore | 1 +
perl-Sub-Name.spec | 23 ++++++++++++++---------
sources | 2 +-
3 files changed, 16 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d2207b0..acd0c90 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
Sub-Name-0.04.tar.gz
+/Sub-Name-0.05.tar.gz
diff --git a/perl-Sub-Name.spec b/perl-Sub-Name.spec
index da8268a..0746353 100644
--- a/perl-Sub-Name.spec
+++ b/perl-Sub-Name.spec
@@ -1,15 +1,19 @@
Name: perl-Sub-Name
-Version: 0.04
-Release: 6%{?dist}
+Version: 0.05
+Release: 1%{?dist}
Summary: Name -- or rename -- a sub
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Sub-Name/
-Source0: http://www.cpan.org/authors/id/X/XM/XMATH/Sub-Name-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Sub-Name-%{version}.tar.gz
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Test::More)
+
+# use base
+Requires: perl(Exporter)
+Requires: perl(DynaLoader)
%{?perl_default_filter}
@@ -29,8 +33,6 @@ by the new name (w/o some deep magic).
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
@@ -42,9 +44,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
%doc Changes README
@@ -53,6 +52,12 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
+* Sat Dec 18 2010 Iain Arnell <iarnell at gmail.com> 0.05-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- BR perl(Test::More)
+- Requires perl(DynaLoader) and perl(Exporter)
+
* Thu May 06 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.04-6
- Mass rebuild with perl-5.12.0
diff --git a/sources b/sources
index 0feeb3d..0b0c0c1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bde2bacba0c701f249135ada3c6cf699 Sub-Name-0.04.tar.gz
+26077202597620e4a6068c8087f3e09f Sub-Name-0.05.tar.gz
More information about the scm-commits
mailing list