From 2594bd3d8e53d690460ba95ada7a987cddcb5563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= Date: Thu, 15 Nov 2012 10:37:31 +0100 Subject: [PATCH] Modernize the spec a bit --- perl-Inline.spec | 9 ++++++--- 1 file 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 - 0.51-2 +- Use DESTDIR +- Don't remove the nonexistent empty directories + * Mon Oct 15 2012 Petr Šabata - 0.51-1 - 0.51 bump