[perl-File-DirCompare] Update to 0.7, clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Fri Oct 12 15:14:25 UTC 2012


commit c26ac5ceb26ab6293a58145d4a452492ca529ade
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Fri Oct 12 17:14:16 2012 +0200

    Update to 0.7, clean up spec file

 .gitignore                |    1 +
 perl-File-DirCompare.spec |   15 ++++++---------
 sources                   |    2 +-
 3 files changed, 8 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 43baa57..62ebea8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 File-DirCompare-0.6.tar.gz
+/File-DirCompare-0.7.tar.gz
diff --git a/perl-File-DirCompare.spec b/perl-File-DirCompare.spec
index e146df8..0b75e30 100644
--- a/perl-File-DirCompare.spec
+++ b/perl-File-DirCompare.spec
@@ -1,12 +1,11 @@
 Name:           perl-File-DirCompare
-Version:        0.6
-Release:        9%{?dist}
+Version:        0.7
+Release:        1%{?dist}
 Summary:        Perl module to compare two directories using callbacks
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/File-DirCompare/
 Source0:        http://www.cpan.org/authors/id/G/GA/GAVINC/File-DirCompare-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::More)
@@ -28,8 +27,6 @@ directories, and for any files that exist only in one or other directory
 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 {} \;
@@ -40,16 +37,16 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Fri Oct 12 2012 Emmanuel Seyman <emmanuel at seyman.fr> - 0.7-1
+- Update to 0.7
+- Clean up spec file
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index d16d0cd..649a47e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-75b150e32d5d9bd120e32c7e2ee01125  File-DirCompare-0.6.tar.gz
+1b83e9653811d036cc0f97584e0aff9e  File-DirCompare-0.7.tar.gz



More information about the perl-devel mailing list