Modernize the spec a bit

epel9
Petr Šabata 12 years ago
parent b3a6bdbb34
commit 2594bd3d8e

@ -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@redhat.com> - 0.51-2
- Use DESTDIR
- Don't remove the nonexistent empty directories
* Mon Oct 15 2012 Petr Šabata <contyk@redhat.com> - 0.51-1
- 0.51 bump

Loading…
Cancel
Save