|
|
|
@ -1,22 +1,21 @@
|
|
|
|
|
Name: perl-Config-IniFiles
|
|
|
|
|
Version: 2.72
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 2.77
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A module for reading .ini-style configuration files
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: http://search.cpan.org/dist/Config-IniFiles/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Config-IniFiles-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl(Module::Build::Compat)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(List::MoreUtils)
|
|
|
|
|
BuildRequires: perl(List::MoreUtils) >= 0.33
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
# Not autodetected. Found in lib/Config/IniFiles.pm:2265
|
|
|
|
|
Requires: perl(IO::Scalar) >= 2.109
|
|
|
|
|
# Also not autodetected
|
|
|
|
|
Requires: perl(List::MoreUtils) >= 0.33
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Config::IniFiles provides a way to have readable configuration files
|
|
|
|
@ -24,7 +23,6 @@ outside your Perl script. Configurations can be imported (inherited,
|
|
|
|
|
stacked,...), sections can be grouped, and settings can be accessed
|
|
|
|
|
from a tied hash.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Config-IniFiles-%{version}
|
|
|
|
|
|
|
|
|
@ -32,31 +30,24 @@ from a tied hash.
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
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 {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc README Changes
|
|
|
|
|
%{perl_vendorlib}/Config/
|
|
|
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jul 30 2012 Tom Callaway <spot@fedoraproject.org> - 2.77-1
|
|
|
|
|
- update to 2.77
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.72-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|