Upstream update.

Modernize spec file.
This commit is contained in:
Ralf Corsépius 2011-10-13 16:27:37 +02:00
parent f0127e844a
commit d75db9e1db
3 changed files with 9 additions and 10 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
File-Find-Rule-0.32.tar.gz
/File-Find-Rule-0.33.tar.gz

View File

@ -1,12 +1,11 @@
Name: perl-File-Find-Rule
Version: 0.32
Release: 6%{?dist}
Version: 0.33
Release: 1%{?dist}
Summary: Perl module implementing an alternative interface to File::Find
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-Find-Rule/
Source0: http://www.cpan.org/modules/by-module/File/File-Find-Rule-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
@ -29,27 +28,27 @@ you to build rules which specify the desired files and directories.
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
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/*
%clean
rm -rf $RPM_BUILD_ROOT
%check
make test
%files
%defattr(-,root,root,-)
%doc Changes README
%doc Changes
%{_bindir}/findrule
%{_mandir}/man1/*
%{perl_vendorlib}/File
%{_mandir}/man3/*
%changelog
* Thu Oct 13 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.33-1
- Upstream update.
- Modernize spec file.
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.32-6
- Perl mass rebuild

View File

@ -1 +1 @@
1b43810c6b8fd4ee5cee8046e1e05ff4 File-Find-Rule-0.32.tar.gz
92c6cb88549c30f5665e39bf80f3d704 File-Find-Rule-0.33.tar.gz