|
|
|
@ -1,16 +1,17 @@
|
|
|
|
|
Name: perl-Config-INI
|
|
|
|
|
Version: 0.016
|
|
|
|
|
Version: 0.017
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Config::INI Perl module
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Config-INI/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Config-INI-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Mixin::Linewise::Readers) >= 0.001
|
|
|
|
|
BuildRequires: perl(Mixin::Linewise::Writers) >= 0.001
|
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
|
BuildRequires: perl(IO::String)
|
|
|
|
|
BuildRequires: perl(Mixin::Linewise::Readers)
|
|
|
|
|
BuildRequires: perl(Mixin::Linewise::Writers)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
@ -25,8 +26,6 @@ Config::INI - simple .ini-file format.
|
|
|
|
|
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 {} \;
|
|
|
|
@ -37,9 +36,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes LICENSE README examples
|
|
|
|
@ -47,6 +43,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 14 2010 Iain Arnell <iarnell@gmail.com> 0.017-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
|
|
|
|
|
* Tue Sep 07 2010 Iain Arnell <iarnell@gmail.com> 0.016-1
|
|
|
|
|
- update to latest upstream
|
|
|
|
|
|
|
|
|
|