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
This commit is contained in:
OBS User autobuild 2010-08-02 01:29:15 +00:00 committed by Git OBS Bridge
parent 824f2ed9a2
commit bd15a910bb
4 changed files with 34 additions and 62 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:abbd302ba1551406c6990ec4e22c53ec4b4857f91c8650df79a4aa76e67a3d09
size 37267

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:66e0bc4720b57afa81e43aa817d997d2a8eeab6f7ba5cd659f9393dac0ac44e9
size 37482

View File

@ -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

View File

@ -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 <dgsupport at wadsack-allen dot com>
%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