[perl-Catalyst-Plugin-Static-Simple] clean up spec for modern rpmbuild
Iain Arnell
iarnell at fedoraproject.org
Sat May 12 14:20:59 UTC 2012
commit 110a81b818d14f6cea815d1342047937eb82df87
Author: Iain Arnell <iarnell at gmail.com>
Date: Sat May 12 08:00:05 2012 -0600
clean up spec for modern rpmbuild
perl-Catalyst-Plugin-Static-Simple.spec | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/perl-Catalyst-Plugin-Static-Simple.spec b/perl-Catalyst-Plugin-Static-Simple.spec
index f703d2c..9b67c15 100644
--- a/perl-Catalyst-Plugin-Static-Simple.spec
+++ b/perl-Catalyst-Plugin-Static-Simple.spec
@@ -6,7 +6,6 @@ License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Catalyst-Plugin-Static-Simple/
Source0: http://search.cpan.org/CPAN/authors/id/A/AB/ABRAXXA/Catalyst-Plugin-Static-Simple-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -51,22 +50,15 @@ make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
TEST_POD=1 make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
@@ -74,6 +66,7 @@ rm -rf %{buildroot}
%changelog
* Sat May 12 2012 Iain Arnell <iarnell at gmail.com> 0.30-1
- update to latest upstream version
+- clean up spec for modern rpmbuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.29-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list