From 29707a7342065b8a2b794a1a588b072e6fca1da6 Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman Date: Sun, 27 Jun 2021 08:48:06 +0200 Subject: [PATCH] Update to 0.027 --- .gitignore | 1 + perl-Config-INI.spec | 26 ++++++++++++++------------ sources | 2 +- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 6609d64..3413d61 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ Config-INI-0.014.tar.gz /Config-INI-0.019.tar.gz /Config-INI-0.024.tar.gz /Config-INI-0.025.tar.gz +/Config-INI-0.027.tar.gz diff --git a/perl-Config-INI.spec b/perl-Config-INI.spec index 3717331..bcd6bc4 100644 --- a/perl-Config-INI.spec +++ b/perl-Config-INI.spec @@ -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 - 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 - 0.025-19 - Perl 5.34 rebuild diff --git a/sources b/sources index 0f783ca..c897730 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0402eb29869547dbcf03ed6f35fef3c0 Config-INI-0.025.tar.gz +SHA512 (Config-INI-0.027.tar.gz) = c0a7d363550cac186b639555e63ac27d613cb2e63d57786aabe63dd65bcb0e2043c3bf80f820bfd975d7111d14567af466e82ed35f9cc2294bfe78ef2a519516