commit ce210d4aba108ff2a00f6cded69579aed4a37100
Author: Iain Arnell <[email protected]>
Date: Sat Dec 18 11:17:25 2010 +0100
clean up spec for modern rpmbuild
perl-common-sense.spec | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/perl-common-sense.spec b/perl-common-sense.spec
index c1d262d..dc419ed 100644
--- a/perl-common-sense.spec
+++ b/perl-common-sense.spec
@@ -6,7 +6,6 @@ License: GPL+ or Artistic
Group: Development/Libraries
Source0:
http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-%{version}.tar.gz
URL: http://search.cpan.org/dist/common-sense
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
BuildArch: noarch
@@ -33,8 +32,6 @@ Perl coders:
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
@@ -44,9 +41,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null
';'
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
%doc LICENSE Changes README
@@ -56,6 +50,7 @@ rm -rf %{buildroot}
%changelog
* Sat Dec 18 2010 Iain Arnell <[email protected]> 3.3-1
- update to latest upstream version
+- clean up spec for modern rpmbuild
* Wed Dec 15 2010 Marcela Maslanova <[email protected]> - 3.0-3
- 661697 rebuild for fixing problems with vendorach/lib
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel