From e8b04c3140f091f8972641c75c9882abf08dfae80f6612534b6c3d72b0cf05aa Mon Sep 17 00:00:00 2001 From: Anna Maresova Date: Thu, 4 Mar 2010 14:18:12 +0000 Subject: [PATCH 1/7] - update to 2.57 * Fixed failure to read the ini file contents from a filehandle made out of a scalar - https://rt.cpan.org/Ticket/Display.html?id=45997 - Applied a patch by Nicolas Mendoza - thanks! OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-IniFiles?expand=0&rev=9 --- perl-Config-IniFiles.spec | 2 +- ready | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 ready diff --git a/perl-Config-IniFiles.spec b/perl-Config-IniFiles.spec index c0b3b17..4cb8ed7 100644 --- a/perl-Config-IniFiles.spec +++ b/perl-Config-IniFiles.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Config-IniFiles (Version 2.57) +# spec file for package perl-Config-IniFiles (Version 2.56) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 From 4ceea54ccbf723405cdf40c0e5d7160192677101bcfae1ecf5f2f079f2e7d03e Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 5 Mar 2010 08:48:00 +0000 Subject: [PATCH 2/7] Accepting request 34018 from devel:languages:perl checked in (request 34018) OBS-URL: https://build.opensuse.org/request/show/34018 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-IniFiles?expand=0&rev=10 --- Config-IniFiles-2.56.tar.bz2 | 3 +++ Config-IniFiles-2.57.tar.bz2 | 3 --- perl-Config-IniFiles.changes | 9 --------- perl-Config-IniFiles.spec | 2 +- 4 files changed, 4 insertions(+), 13 deletions(-) create mode 100644 Config-IniFiles-2.56.tar.bz2 delete mode 100644 Config-IniFiles-2.57.tar.bz2 diff --git a/Config-IniFiles-2.56.tar.bz2 b/Config-IniFiles-2.56.tar.bz2 new file mode 100644 index 0000000..bacbd88 --- /dev/null +++ b/Config-IniFiles-2.56.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ffb86c521b3a57d119ed36b2c84341ef7323d58535b50ccb5292d99e0312bdd5 +size 36988 diff --git a/Config-IniFiles-2.57.tar.bz2 b/Config-IniFiles-2.57.tar.bz2 deleted file mode 100644 index 14e1d62..0000000 --- a/Config-IniFiles-2.57.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:abbd302ba1551406c6990ec4e22c53ec4b4857f91c8650df79a4aa76e67a3d09 -size 37267 diff --git a/perl-Config-IniFiles.changes b/perl-Config-IniFiles.changes index 98d5781..299660a 100644 --- a/perl-Config-IniFiles.changes +++ b/perl-Config-IniFiles.changes @@ -1,12 +1,3 @@ -------------------------------------------------------------------- -Thu Mar 4 14:46:10 CET 2010 - anicka@suse.cz - -- update to 2.57 -* Fixed failure to read the ini file contents from a filehandle made out of a - scalar - - https://rt.cpan.org/Ticket/Display.html?id=45997 - - Applied a patch by Nicolas Mendoza - thanks! - ------------------------------------------------------------------- Wed Jan 13 16:32:58 CET 2010 - anicka@suse.cz diff --git a/perl-Config-IniFiles.spec b/perl-Config-IniFiles.spec index 4cb8ed7..e446198 100644 --- a/perl-Config-IniFiles.spec +++ b/perl-Config-IniFiles.spec @@ -27,7 +27,7 @@ Obsoletes: p_cnfini Requires: perl = %{perl_version} AutoReqProv: on Summary: A module for reading .ini-style configuration files -Version: 2.57 +Version: 2.56 Release: 1 Source: Config-IniFiles-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build From 9e7c86b7a56b4c0c51b4673460150d1e55db3c52cd7bb9d6ccb746d59b818b47 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Wed, 2 Jun 2010 12:28:26 +0000 Subject: [PATCH 3/7] Accepting request 40989 from home:computersalat:devel:perl Copy from home:computersalat:devel:perl/perl-Config-IniFiles via accept of submit request 40989 revision 3. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/40989 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-IniFiles?expand=0&rev=11 --- Config-IniFiles-2.56.tar.bz2 | 3 -- Config-IniFiles-2.58.tar.bz2 | 3 ++ perl-Config-IniFiles.changes | 28 +++++++++++++++ perl-Config-IniFiles.spec | 66 +++++++++++++++++++----------------- ready | 0 5 files changed, 66 insertions(+), 34 deletions(-) delete mode 100644 Config-IniFiles-2.56.tar.bz2 create mode 100644 Config-IniFiles-2.58.tar.bz2 delete mode 100644 ready diff --git a/Config-IniFiles-2.56.tar.bz2 b/Config-IniFiles-2.56.tar.bz2 deleted file mode 100644 index bacbd88..0000000 --- a/Config-IniFiles-2.56.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ffb86c521b3a57d119ed36b2c84341ef7323d58535b50ccb5292d99e0312bdd5 -size 36988 diff --git a/Config-IniFiles-2.58.tar.bz2 b/Config-IniFiles-2.58.tar.bz2 new file mode 100644 index 0000000..4c701ae --- /dev/null +++ b/Config-IniFiles-2.58.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66e0bc4720b57afa81e43aa817d997d2a8eeab6f7ba5cd659f9393dac0ac44e9 +size 37482 diff --git a/perl-Config-IniFiles.changes b/perl-Config-IniFiles.changes index 299660a..9cd1bfe 100644 --- a/perl-Config-IniFiles.changes +++ b/perl-Config-IniFiles.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Wed Jun 2 12:22:56 UTC 2010 - chris@computersalat.de + +- update to 2.58 + * Incorporated a fix for some broken POD. + - https://rt.cpan.org/Ticket/Display.html?id=51617 + - Thanks to Frank Wiegand for reporting it. + + * Got rid of \r/carriage-returns's in lib/Config/IniFiles.pm . + - It interfered with applying a patch. + + * Applied a patch to get rid of indirect object notation in the documentation + and code ("new Config::IniFiles") and replace it with Config::IniFiles->new(). + - https://rt.cpan.org/Ticket/Display.html?id=57536 + - Thanks to Tom Molesworth for the patch. +- package recreated by cpanspec 1.78 +- noarch package +- switch from Makefile.PL > Build.PL + +------------------------------------------------------------------- +Thu Mar 4 14:46:10 CET 2010 - anicka@suse.cz + +- update to 2.57 +* Fixed failure to read the ini file contents from a filehandle made out of a + scalar + - https://rt.cpan.org/Ticket/Display.html?id=45997 + - Applied a patch by Nicolas Mendoza - thanks! + ------------------------------------------------------------------- Wed Jan 13 16:32:58 CET 2010 - anicka@suse.cz diff --git a/perl-Config-IniFiles.spec b/perl-Config-IniFiles.spec index e446198..4ccbaed 100644 --- a/perl-Config-IniFiles.spec +++ b/perl-Config-IniFiles.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Config-IniFiles (Version 2.56) +# spec file for package perl-Config-IniFiles (Version 2.58) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,24 +17,35 @@ # norootforbuild - Name: perl-Config-IniFiles -License: Artistic License .. -Group: Development/Libraries/Perl -Url: http://cpan.org/modules/by-module/Config/ -Provides: p_cnfini -Obsoletes: p_cnfini -Requires: perl = %{perl_version} -AutoReqProv: on -Summary: A module for reading .ini-style configuration files -Version: 2.56 +%define cpan_name Config-IniFiles +Summary: Module for reading .ini-style configuration files +Version: 2.58 Release: 1 -Source: Config-IniFiles-%{version}.tar.bz2 +License: GPL v1+, Artistic License +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Config-IniFiles/ +#Source: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-2.58.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: dos2unix +BuildRequires: perl +BuildRequires: perl(Module::Build) +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +BuildRequires: perl(IO::Scalar) +Requires: perl = %{perl_version} +Requires: perl(IO::Scalar) %description Config::IniFiles provides a way to have readable configuration files -outside your Perl script. +outside your Perl script. Configurations can be imported (inherited, +stacked,...), sections can be grouped, and settings can be accessed from a +tied hash. @@ -45,31 +56,24 @@ Authors: Jeremy Wadsack %prep -%setup -n Config-IniFiles-%{version} -q +%setup -q -n Config-IniFiles-%{version} +dos2unix Changes %build -perl Makefile.PL -make %{?_smp_mflags} - +%{__perl} Build.PL installdirs=vendor +./Build %check -make test +./Build test %install -make \ - DESTDIR=$RPM_BUILD_ROOT \ - install_vendor -%perl_process_packlist +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +%perl_gen_filelist %clean -[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT} +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-, root, root) -%dir %{perl_vendorlib}/Config -%attr(0644,root,root) %{perl_vendorlib}/Config/IniFiles.pm -%dir %{perl_vendorarch}/auto/Config -%{perl_vendorarch}/auto/Config/IniFiles -%doc %{perl_installman3dir}/Config::IniFiles.3pm.gz -/var/adm/perl-modules/perl-Config-IniFiles +%files -f %{name}.files +%defattr(-,root,root,-) +%doc Changes README %changelog diff --git a/ready b/ready deleted file mode 100644 index 473a0f4..0000000 From 1c4f4cfbf91c3ce658c629ae73b18d6e159a0ba40bf2600dcce3b2072c97e124 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Sun, 25 Jul 2010 14:47:07 +0000 Subject: [PATCH 4/7] removed dos2unix usage OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-IniFiles?expand=0&rev=12 --- perl-Config-IniFiles.changes | 5 +++++ perl-Config-IniFiles.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/perl-Config-IniFiles.changes b/perl-Config-IniFiles.changes index 9cd1bfe..cf460b3 100644 --- a/perl-Config-IniFiles.changes +++ b/perl-Config-IniFiles.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jul 25 14:46:23 UTC 2010 - chris@computersalat.de + +- removed dos2unix usage + ------------------------------------------------------------------- Wed Jun 2 12:22:56 UTC 2010 - chris@computersalat.de diff --git a/perl-Config-IniFiles.spec b/perl-Config-IniFiles.spec index 4ccbaed..a5a28b2 100644 --- a/perl-Config-IniFiles.spec +++ b/perl-Config-IniFiles.spec @@ -29,7 +29,6 @@ Url: http://search.cpan.org/dist/Config-IniFiles/ Source: %{cpan_name}-%{version}.tar.bz2 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: dos2unix BuildRequires: perl BuildRequires: perl(Module::Build) %if 0%{?suse_version} < 1120 @@ -57,7 +56,8 @@ Authors: %prep %setup -q -n Config-IniFiles-%{version} -dos2unix Changes +#rpmlint: wrong-file-end-of-line-encoding +%{__sed} -i -e "s/.$//" Changes %build %{__perl} Build.PL installdirs=vendor From 824f2ed9a2fe210175c2b4e1915ab08ca2f321bc24e4143fb7d04418f74a6af1 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Mon, 26 Jul 2010 16:02:11 +0000 Subject: [PATCH 5/7] fix sed OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-IniFiles?expand=0&rev=13 --- perl-Config-IniFiles.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-Config-IniFiles.spec b/perl-Config-IniFiles.spec index a5a28b2..4ce9554 100644 --- a/perl-Config-IniFiles.spec +++ b/perl-Config-IniFiles.spec @@ -57,7 +57,7 @@ Authors: %prep %setup -q -n Config-IniFiles-%{version} #rpmlint: wrong-file-end-of-line-encoding -%{__sed} -i -e "s/.$//" Changes +%{__perl} -p -i -e "s|\r\n|\n|" Changes %build %{__perl} Build.PL installdirs=vendor From bd15a910bbe832c3cbe49c7977b84276ef719976ea6f0fae5695709bd882c6d8 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Mon, 2 Aug 2010 01:29:15 +0000 Subject: [PATCH 6/7] Accepting request 44001 from devel:languages:perl checked in (request 44001) OBS-URL: https://build.opensuse.org/request/show/44001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-IniFiles?expand=0&rev=14 --- Config-IniFiles-2.57.tar.bz2 | 3 ++ Config-IniFiles-2.58.tar.bz2 | 3 -- perl-Config-IniFiles.changes | 24 ------------- perl-Config-IniFiles.spec | 66 +++++++++++++++++------------------- 4 files changed, 34 insertions(+), 62 deletions(-) create mode 100644 Config-IniFiles-2.57.tar.bz2 delete mode 100644 Config-IniFiles-2.58.tar.bz2 diff --git a/Config-IniFiles-2.57.tar.bz2 b/Config-IniFiles-2.57.tar.bz2 new file mode 100644 index 0000000..14e1d62 --- /dev/null +++ b/Config-IniFiles-2.57.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:abbd302ba1551406c6990ec4e22c53ec4b4857f91c8650df79a4aa76e67a3d09 +size 37267 diff --git a/Config-IniFiles-2.58.tar.bz2 b/Config-IniFiles-2.58.tar.bz2 deleted file mode 100644 index 4c701ae..0000000 --- a/Config-IniFiles-2.58.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:66e0bc4720b57afa81e43aa817d997d2a8eeab6f7ba5cd659f9393dac0ac44e9 -size 37482 diff --git a/perl-Config-IniFiles.changes b/perl-Config-IniFiles.changes index cf460b3..98d5781 100644 --- a/perl-Config-IniFiles.changes +++ b/perl-Config-IniFiles.changes @@ -1,27 +1,3 @@ -------------------------------------------------------------------- -Sun Jul 25 14:46:23 UTC 2010 - chris@computersalat.de - -- removed dos2unix usage - -------------------------------------------------------------------- -Wed Jun 2 12:22:56 UTC 2010 - chris@computersalat.de - -- update to 2.58 - * Incorporated a fix for some broken POD. - - https://rt.cpan.org/Ticket/Display.html?id=51617 - - Thanks to Frank Wiegand for reporting it. - - * Got rid of \r/carriage-returns's in lib/Config/IniFiles.pm . - - It interfered with applying a patch. - - * Applied a patch to get rid of indirect object notation in the documentation - and code ("new Config::IniFiles") and replace it with Config::IniFiles->new(). - - https://rt.cpan.org/Ticket/Display.html?id=57536 - - Thanks to Tom Molesworth for the patch. -- package recreated by cpanspec 1.78 -- noarch package -- switch from Makefile.PL > Build.PL - ------------------------------------------------------------------- Thu Mar 4 14:46:10 CET 2010 - anicka@suse.cz diff --git a/perl-Config-IniFiles.spec b/perl-Config-IniFiles.spec index 4ce9554..c0b3b17 100644 --- a/perl-Config-IniFiles.spec +++ b/perl-Config-IniFiles.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Config-IniFiles (Version 2.58) +# spec file for package perl-Config-IniFiles (Version 2.57) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,34 +17,24 @@ # norootforbuild + Name: perl-Config-IniFiles -%define cpan_name Config-IniFiles -Summary: Module for reading .ini-style configuration files -Version: 2.58 -Release: 1 -License: GPL v1+, Artistic License +License: Artistic License .. Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Config-IniFiles/ -#Source: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-2.58.tar.gz -Source: %{cpan_name}-%{version}.tar.bz2 -BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: perl -BuildRequires: perl(Module::Build) -%if 0%{?suse_version} < 1120 -BuildRequires: perl-macros -%endif -BuildRequires: perl(Test::Pod) >= 1.14 -BuildRequires: perl(Test::Pod::Coverage) >= 1.04 -BuildRequires: perl(IO::Scalar) +Url: http://cpan.org/modules/by-module/Config/ +Provides: p_cnfini +Obsoletes: p_cnfini Requires: perl = %{perl_version} -Requires: perl(IO::Scalar) +AutoReqProv: on +Summary: A module for reading .ini-style configuration files +Version: 2.57 +Release: 1 +Source: Config-IniFiles-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Config::IniFiles provides a way to have readable configuration files -outside your Perl script. Configurations can be imported (inherited, -stacked,...), sections can be grouped, and settings can be accessed from a -tied hash. +outside your Perl script. @@ -55,25 +45,31 @@ Authors: Jeremy Wadsack %prep -%setup -q -n Config-IniFiles-%{version} -#rpmlint: wrong-file-end-of-line-encoding -%{__perl} -p -i -e "s|\r\n|\n|" Changes +%setup -n Config-IniFiles-%{version} -q %build -%{__perl} Build.PL installdirs=vendor -./Build +perl Makefile.PL +make %{?_smp_mflags} + %check -./Build test +make test %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -%perl_gen_filelist +make \ + DESTDIR=$RPM_BUILD_ROOT \ + install_vendor +%perl_process_packlist %clean -%{__rm} -rf $RPM_BUILD_ROOT +[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT} -%files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes README +%files +%defattr(-, root, root) +%dir %{perl_vendorlib}/Config +%attr(0644,root,root) %{perl_vendorlib}/Config/IniFiles.pm +%dir %{perl_vendorarch}/auto/Config +%{perl_vendorarch}/auto/Config/IniFiles +%doc %{perl_installman3dir}/Config::IniFiles.3pm.gz +/var/adm/perl-modules/perl-Config-IniFiles %changelog From 958ae8d32c944fc1b16eb1edb056e79962ae3ab155259132d19c47a613a2baf1 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Mon, 2 Aug 2010 01:29:17 +0000 Subject: [PATCH 7/7] Updating link to change in openSUSE:Factory/perl-Config-IniFiles revision 14.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Config-IniFiles?expand=0&rev=2453f1b4d17f46998dbda2ff44065787 --- Config-IniFiles-2.57.tar.bz2 | 3 -- Config-IniFiles-2.58.tar.bz2 | 3 ++ perl-Config-IniFiles.changes | 24 ++++++++++++++ perl-Config-IniFiles.spec | 64 ++++++++++++++++++++---------------- 4 files changed, 62 insertions(+), 32 deletions(-) delete mode 100644 Config-IniFiles-2.57.tar.bz2 create mode 100644 Config-IniFiles-2.58.tar.bz2 diff --git a/Config-IniFiles-2.57.tar.bz2 b/Config-IniFiles-2.57.tar.bz2 deleted file mode 100644 index 14e1d62..0000000 --- a/Config-IniFiles-2.57.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:abbd302ba1551406c6990ec4e22c53ec4b4857f91c8650df79a4aa76e67a3d09 -size 37267 diff --git a/Config-IniFiles-2.58.tar.bz2 b/Config-IniFiles-2.58.tar.bz2 new file mode 100644 index 0000000..4c701ae --- /dev/null +++ b/Config-IniFiles-2.58.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66e0bc4720b57afa81e43aa817d997d2a8eeab6f7ba5cd659f9393dac0ac44e9 +size 37482 diff --git a/perl-Config-IniFiles.changes b/perl-Config-IniFiles.changes index 98d5781..cf460b3 100644 --- a/perl-Config-IniFiles.changes +++ b/perl-Config-IniFiles.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Sun Jul 25 14:46:23 UTC 2010 - chris@computersalat.de + +- removed dos2unix usage + +------------------------------------------------------------------- +Wed Jun 2 12:22:56 UTC 2010 - chris@computersalat.de + +- update to 2.58 + * Incorporated a fix for some broken POD. + - https://rt.cpan.org/Ticket/Display.html?id=51617 + - Thanks to Frank Wiegand for reporting it. + + * Got rid of \r/carriage-returns's in lib/Config/IniFiles.pm . + - It interfered with applying a patch. + + * Applied a patch to get rid of indirect object notation in the documentation + and code ("new Config::IniFiles") and replace it with Config::IniFiles->new(). + - https://rt.cpan.org/Ticket/Display.html?id=57536 + - Thanks to Tom Molesworth for the patch. +- package recreated by cpanspec 1.78 +- noarch package +- switch from Makefile.PL > Build.PL + ------------------------------------------------------------------- Thu Mar 4 14:46:10 CET 2010 - anicka@suse.cz diff --git a/perl-Config-IniFiles.spec b/perl-Config-IniFiles.spec index c0b3b17..721d67f 100644 --- a/perl-Config-IniFiles.spec +++ b/perl-Config-IniFiles.spec @@ -1,5 +1,5 @@ # -# spec file for package perl-Config-IniFiles (Version 2.57) +# spec file for package perl-Config-IniFiles (Version 2.58) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,22 +19,33 @@ Name: perl-Config-IniFiles -License: Artistic License .. -Group: Development/Libraries/Perl -Url: http://cpan.org/modules/by-module/Config/ -Provides: p_cnfini -Obsoletes: p_cnfini -Requires: perl = %{perl_version} -AutoReqProv: on -Summary: A module for reading .ini-style configuration files -Version: 2.57 +%define cpan_name Config-IniFiles +Summary: Module for reading .ini-style configuration files +Version: 2.58 Release: 1 -Source: Config-IniFiles-%{version}.tar.bz2 +License: GPL v1+, Artistic License +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Config-IniFiles/ +#Source: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-2.58.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl(Module::Build) +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +BuildRequires: perl(IO::Scalar) +Requires: perl = %{perl_version} +Requires: perl(IO::Scalar) %description Config::IniFiles provides a way to have readable configuration files -outside your Perl script. +outside your Perl script. Configurations can be imported (inherited, +stacked,...), sections can be grouped, and settings can be accessed from a +tied hash. @@ -45,31 +56,26 @@ Authors: Jeremy Wadsack %prep -%setup -n Config-IniFiles-%{version} -q +%setup -q -n Config-IniFiles-%{version} +#rpmlint: wrong-file-end-of-line-encoding +%{__perl} -p -i -e "s|\r\n|\n|" Changes %build -perl Makefile.PL -make %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build %check -make test +./Build test %install -make \ - DESTDIR=$RPM_BUILD_ROOT \ - install_vendor -%perl_process_packlist +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +%perl_gen_filelist %clean -[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT} +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-, root, root) -%dir %{perl_vendorlib}/Config -%attr(0644,root,root) %{perl_vendorlib}/Config/IniFiles.pm -%dir %{perl_vendorarch}/auto/Config -%{perl_vendorarch}/auto/Config/IniFiles -%doc %{perl_installman3dir}/Config::IniFiles.3pm.gz -/var/adm/perl-modules/perl-Config-IniFiles +%files -f %{name}.files +%defattr(-,root,root,-) +%doc Changes README %changelog