update to 0.05

This commit is contained in:
Iain Arnell 2010-12-18 09:22:55 +01:00
parent dcdbaf185f
commit bdbf91589d
3 changed files with 16 additions and 10 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
Sub-Name-0.04.tar.gz
/Sub-Name-0.05.tar.gz

View File

@ -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@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@redhat.com> - 0.04-6
- Mass rebuild with perl-5.12.0

View File

@ -1 +1 @@
bde2bacba0c701f249135ada3c6cf699 Sub-Name-0.04.tar.gz
26077202597620e4a6068c8087f3e09f Sub-Name-0.05.tar.gz