[perl-Hash-Diff] Clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Thu Aug 11 22:01:54 UTC 2011


commit 085f15e41014ba563286ca93e6ed162dfbf40ee1
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Fri Aug 12 00:01:41 2011 +0200

    Clean up spec file

 perl-Hash-Diff.spec |   12 ++++--------
 1 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/perl-Hash-Diff.spec b/perl-Hash-Diff.spec
index 002df0b..fad0a58 100644
--- a/perl-Hash-Diff.spec
+++ b/perl-Hash-Diff.spec
@@ -1,12 +1,11 @@
 Name:           perl-Hash-Diff
 Version:        0.005
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Return difference between to hashes as a hash
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Hash-Diff/
 Source0:        http://search.cpan.org/CPAN/authors/id/B/BO/BOLAV/Hash-Diff-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Hash::Merge)
@@ -28,8 +27,6 @@ Hash::Diff returns the difference between two hashes as a hash.
 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,15 @@ 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}/Hash/Diff.pm
 %{_mandir}/man3/Hash::Diff.3pm*
 
 %changelog
+* Thu Aug 11 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.005-2
+- Clean up spec file.
+
 * Sat Oct 9 2010 Jerome Fenal <jfenal at free.fr> 0.005-1
 - Rebase on upstream, which fixes only typos in pod.
 * Sat Sep 11 2010 Jerome Fenal <jfenal at free.fr> 0.003-2


More information about the scm-commits mailing list