|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Config-INI
|
|
|
|
|
Version: 0.025
|
|
|
|
|
Release: 19%{?dist}
|
|
|
|
|
Version: 0.027
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Config::INI Perl module
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
|
|
|
|
@ -12,10 +12,10 @@ BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(IO::File) >= 1.14
|
|
|
|
|
BuildRequires: perl(IO::String)
|
|
|
|
|
BuildRequires: perl(Mixin::Linewise::Readers)
|
|
|
|
|
BuildRequires: perl(Mixin::Linewise::Readers) >= 0.110
|
|
|
|
|
BuildRequires: perl(Mixin::Linewise::Writers)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
@ -26,19 +26,15 @@ Config::INI - simple .ini-file format.
|
|
|
|
|
%setup -q -n Config-INI-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
%{make_install}
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
%{make_build} test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README examples
|
|
|
|
@ -47,6 +43,12 @@ make test
|
|
|
|
|
%{_mandir}/man3/Config*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Jun 27 2021 Emmanuel Seyman <emmanuel@seyman.fr> - 0.027-1
|
|
|
|
|
- Update to 0.027
|
|
|
|
|
- Replace calls to %%{__perl} with /usr/bin/perl
|
|
|
|
|
- Use %%{make_build} instead of make
|
|
|
|
|
- Use %%{make_install} instead of "make pure_install"
|
|
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.025-19
|
|
|
|
|
- Perl 5.34 rebuild
|
|
|
|
|
|
|
|
|
|