Modernize the spec a bit

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

@ -1,6 +1,6 @@
Name: perl-Inline Name: perl-Inline
Version: 0.51 Version: 0.51
Release: 1%{?dist} Release: 2%{?dist}
Summary: Inline Perl module Summary: Inline Perl module
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
@ -64,9 +64,8 @@ perl Makefile.PL INSTALLDIRS=vendor < /dev/null
make %{?_smp_mflags} make %{?_smp_mflags}
%install %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 f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/* chmod -R u+w %{buildroot}/*
%check %check
@ -79,6 +78,10 @@ make test
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %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 * Mon Oct 15 2012 Petr Šabata <contyk@redhat.com> - 0.51-1
- 0.51 bump - 0.51 bump

Loading…
Cancel
Save