[perl-Config-IniHash] Update to 3.01.01, clean up spec file and add perl default filter

Emmanuel Seyman eseyman at fedoraproject.org
Sun Jan 15 12:03:05 UTC 2012


commit 39e7b705871104a5ddebcf5850f4f5b79d517892
Author: Emmanuel Seyman <emmanuel.seyman at club-internet.fr>
Date:   Sun Jan 15 13:02:56 2012 +0100

    Update to 3.01.01, clean up spec file and add perl default filter

 .gitignore               |    1 +
 perl-Config-IniHash.spec |   20 ++++++++++----------
 sources                  |    2 +-
 3 files changed, 12 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9c1335b..e16ddea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Config-IniHash-3.00.00.tar.gz
+/Config-IniHash-3.01.01.tar.gz
diff --git a/perl-Config-IniHash.spec b/perl-Config-IniHash.spec
index 6106493..84ea4ba 100644
--- a/perl-Config-IniHash.spec
+++ b/perl-Config-IniHash.spec
@@ -1,12 +1,11 @@
 Name:           perl-Config-IniHash
-Version:        3.00.00 
-Release:        10%{?dist}
+Version:        3.01.01
+Release:        1%{?dist}
 Summary:        Perl extension for reading and writing INI files
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Config-IniHash/
 Source0:        http://www.cpan.org/authors/id/J/JE/JENDA/Config-IniHash-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
@@ -22,21 +21,21 @@ BuildRequires:  perl(Hash::WithDefaults) >= 0.04
 Requires:       perl(Hash::Case)
 Requires:       perl(Hash::WithDefaults) >= 0.04
 
+%{?perl_default_filter}
+
 %description
 This module reads and writes INI files.
 
 %prep
 %setup -q -n Config-IniHash-%{version}
 
-sed -i 's/\r//' README
+sed -i 's/\r//' README Changes
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
@@ -47,16 +46,17 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 15 2012 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> - 3.01.01-1
+- Update to 3.01.01
+- Clean up spec file
+- Add perl default filter
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.00.00-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 808fb6d..6774828 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c53cbd0db1421c810400e1e8e095e0fc  Config-IniHash-3.00.00.tar.gz
+fc23892540d21996daae3c46c3de58ba  Config-IniHash-3.01.01.tar.gz



More information about the perl-devel mailing list