[perl-PPIx-Utilities] Modernize spec file
Petr Pisar
ppisar at fedoraproject.org
Thu Oct 25 15:33:31 UTC 2012
commit b2402deadda9360dabbf9d03dc38fb4e60e8325e
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Oct 25 17:32:37 2012 +0200
Modernize spec file
perl-PPIx-Utilities.spec | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/perl-PPIx-Utilities.spec b/perl-PPIx-Utilities.spec
index f8dd3f1..199a020 100644
--- a/perl-PPIx-Utilities.spec
+++ b/perl-PPIx-Utilities.spec
@@ -6,7 +6,6 @@ Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/PPIx-Utilities/
Source0: http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/PPIx-Utilities-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
@@ -43,20 +42,14 @@ perl Makefile.PL INSTALLDIRS=vendor
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
%{_fixperms} %{buildroot}
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/PPIx/
%{_mandir}/man3/PPIx::Utilities.3pm*
More information about the scm-commits
mailing list