Modernize spec.
This commit is contained in:
parent
169a892da3
commit
e2a895332d
@ -1,6 +1,6 @@
|
||||
Name: perl-File-Find-Rule
|
||||
Version: 0.34
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Perl module implementing an alternative interface to File::Find
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -26,13 +26,11 @@ you to build rules which specify the desired files and directories.
|
||||
%setup -q -n File-Find-Rule-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
@ -46,6 +44,9 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Jan 30 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.34-2
|
||||
- Modernize spec.
|
||||
|
||||
* Tue Dec 08 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.34-1
|
||||
- Update to 0.34.
|
||||
- Add more BRs.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user