[perl-Inline] Modernize the spec a bit
Petr Šabata
psabata at fedoraproject.org
Thu Nov 15 09:37:37 UTC 2012
commit 2594bd3d8e53d690460ba95ada7a987cddcb5563
Author: Petr Šabata <contyk at redhat.com>
Date: Thu Nov 15 10:37:31 2012 +0100
Modernize the spec a bit
perl-Inline.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/perl-Inline.spec b/perl-Inline.spec
index 7c87788..fdfc575 100644
--- a/perl-Inline.spec
+++ b/perl-Inline.spec
@@ -1,6 +1,6 @@
Name: perl-Inline
Version: 0.51
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Inline Perl module
Group: Development/Libraries
License: GPL+ or Artistic
@@ -64,9 +64,8 @@ perl Makefile.PL INSTALLDIRS=vendor < /dev/null
make %{?_smp_mflags}
%install
-make pure_install PERL_INSTALL_ROOT=%{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 ';'
chmod -R u+w %{buildroot}/*
%check
@@ -79,6 +78,10 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Thu Nov 15 2012 Petr Šabata <contyk at redhat.com> - 0.51-2
+- Use DESTDIR
+- Don't remove the nonexistent empty directories
+
* Mon Oct 15 2012 Petr Šabata <contyk at redhat.com> - 0.51-1
- 0.51 bump
More information about the scm-commits
mailing list