[perl-File-Find-Rule] Upstream update. Modernize spec file.

corsepiu corsepiu at fedoraproject.org
Thu Oct 13 14:27:49 UTC 2011


commit d75db9e1dbc7229504ad7536f741aebbd568a216
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Thu Oct 13 16:27:37 2011 +0200

    Upstream update.
    Modernize spec file.

 .gitignore               |    2 +-
 perl-File-Find-Rule.spec |   15 +++++++--------
 sources                  |    2 +-
 3 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c1994b5..7c22864 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-File-Find-Rule-0.32.tar.gz
+/File-Find-Rule-0.33.tar.gz
diff --git a/perl-File-Find-Rule.spec b/perl-File-Find-Rule.spec
index 612550a..a32a001 100644
--- a/perl-File-Find-Rule.spec
+++ b/perl-File-Find-Rule.spec
@@ -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 at fedoraproject.org> - 0.33-1
+- Upstream update.
+- Modernize spec file.
+
 * Mon Jun 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.32-6
 - Perl mass rebuild
 
diff --git a/sources b/sources
index b92f0ae..db0bc6c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1b43810c6b8fd4ee5cee8046e1e05ff4  File-Find-Rule-0.32.tar.gz
+92c6cb88549c30f5665e39bf80f3d704  File-Find-Rule-0.33.tar.gz



More information about the perl-devel mailing list