commit dd4c28fde0eaa28f163d2230c549c73fa93777be Author: Paul Howarth paul@city-fan.org Date: Wed Oct 2 16:31:27 2013 +0100
Update to 0.12
- New upstream release 0.12 - Grok dist names ending with something numeric containing underscores - Make %files list more explicit - Drop %defattr, redundant since rpm 4.4 - Don't need to remove empty directories from the buildroot - Use DESTDIR rather than PERL_INSTALL_ROOT - Don't use macros for commands
.gitignore | 4 +--- perl-CPAN-DistnameInfo.spec | 34 +++++++++++++++++++--------------- sources | 2 +- 3 files changed, 21 insertions(+), 19 deletions(-) --- diff --git a/.gitignore b/.gitignore index 92d81b9..1d4aaaf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -CPAN-DistnameInfo-0.09.tar.gz -/CPAN-DistnameInfo-0.10.tar.gz -/CPAN-DistnameInfo-0.11.tar.gz +/CPAN-DistnameInfo-[0-9.]*.tar.gz diff --git a/perl-CPAN-DistnameInfo.spec b/perl-CPAN-DistnameInfo.spec index 6687134..e013e17 100644 --- a/perl-CPAN-DistnameInfo.spec +++ b/perl-CPAN-DistnameInfo.spec @@ -1,18 +1,18 @@ Name: perl-CPAN-DistnameInfo -Version: 0.11 -Release: 10%{?dist} +Version: 0.12 +Release: 1%{?dist} Summary: Extract distribution name and version from a distribution filename License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CPAN-DistnameInfo/ Source0: http://www.cpan.org/authors/id/G/GB/GBARR/CPAN-DistnameInfo-%%7Bversion%7D.t... -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) # Tests: BuildRequires: perl(Data::Dumper) BuildRequires: perl(Test::More) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description Many online services that are centered around CPAN attempt to @@ -31,18 +31,14 @@ developer release. %setup -q -n CPAN-DistnameInfo-%{version}
%build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags}
%install rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ; - -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT
%check make test @@ -51,12 +47,20 @@ make test rm -rf $RPM_BUILD_ROOT
%files -%defattr(-,root,root,-) %doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/CPAN/ +%{_mandir}/man3/CPAN::DistnameInfo.3pm*
%changelog +* Wed Oct 2 2013 Paul Howarth paul@city-fan.org - 0.12-1 +- Update to 0.12 + - Grok dist names ending with something numeric containing underscores +- Make %%files list more explicit +- Drop %%defattr, redundant since rpm 4.4 +- Don't need to remove empty directories from the buildroot +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Don't use macros for commands + * Sat Aug 03 2013 Fedora Release Engineering rel-eng@lists.fedoraproject.org - 0.11-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
@@ -89,7 +93,7 @@ rm -rf $RPM_BUILD_ROOT - Update to 0.11.
* Wed Dec 15 2010 Marcela Maslanova mmaslano@redhat.com - 0.10-2 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697)
* Sun Dec 12 2010 Steven Pritchard steve@kspei.com 0.10-1 - Update to 0.10. diff --git a/sources b/sources index fa7f809..f512787 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d19baa973d48b10f4d34f61f4bac0ee0 CPAN-DistnameInfo-0.11.tar.gz +06bc803c0e4fb7735ddc7282163f1cc3 CPAN-DistnameInfo-0.12.tar.gz
perl-devel@lists.fedoraproject.org