commit 872d1af760d1a617b308fe9c3c7bc712a89c0c60 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Fri Jun 29 05:55:27 2012 -0600 clean up spec for modern rpmbuild perl-Git-CPAN-Patch.spec | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) --- diff --git a/perl-Git-CPAN-Patch.spec b/perl-Git-CPAN-Patch.spec index d646c86..a7f1225 100644 --- a/perl-Git-CPAN-Patch.spec +++ b/perl-Git-CPAN-Patch.spec @@ -6,7 +6,6 @@ License: GPL+ or Artistic Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/Git-CPAN-Patch-%{version}.tar.gz URL: http://search.cpan.org/dist/Git-CPAN-Patch/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch @@ -81,10 +80,7 @@ sending back patches to its maintainer. ./Build %install -rm -rf %{buildroot} - ./Build install destdir=%{buildroot} create_packlist=0 -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* @@ -95,17 +91,12 @@ mv %{buildroot}/%{_bindir}/* %{buildroot}%{_libexecdir}/git-core/ %check ./Build test -%clean -rm -rf %{buildroot} - %files -%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %files -n git-cpan-patch -%defattr(-,root,root,-) %doc Changes README %{_libexecdir}/* %{_mandir}/man1/* @@ -113,6 +104,7 @@ rm -rf %{buildroot} %changelog * Sat Feb 11 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.7.0-1 - update to latest upstream version +- clean up spec for modern rpmbuild * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.4.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel