Tom Callaway 13 years ago
parent b7c4c716b7
commit fd3c2d8b0b

1
.gitignore vendored

@ -1,3 +1,4 @@
Config-IniFiles-2.58.tar.gz
/Config-IniFiles-2.68.tar.gz
/Config-IniFiles-2.72.tar.gz
/Config-IniFiles-2.77.tar.gz

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

@ -1 +1 @@
513d01cf4945e9b1faccc80e153bd27e Config-IniFiles-2.72.tar.gz
0cb0b5dac10bb1737ed97d7ae143da73 Config-IniFiles-2.77.tar.gz

Loading…
Cancel
Save