[perl-Hash-Diff/f16] fix typo and clean up spec file

Emmanuel Seyman eseyman at fedoraproject.org
Wed Sep 14 23:37:40 UTC 2011


commit 023bc952223709ab065acceadb437b4c8ae7bee2
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Thu Sep 15 01:24:42 2011 +0200

    fix typo and clean up spec file

 perl-Hash-Diff.spec |   15 ++++++---------
 1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/perl-Hash-Diff.spec b/perl-Hash-Diff.spec
index 002df0b..bc7308a 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}
-Summary:        Return difference between to hashes as a hash
+Release:        3%{?dist}
+Summary:        Return difference between two 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,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}/Hash/Diff.pm
 %{_mandir}/man3/Hash::Diff.3pm*
 
 %changelog
+* Thu Sep 15 2011 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 0.005-3
+- Fix typo in summary. (#614249)
+- 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