diff --git a/perl-Module-Install-CheckLib.spec b/perl-Module-Install-CheckLib.spec index 6d3d2d3..5fac816 100644 --- a/perl-Module-Install-CheckLib.spec +++ b/perl-Module-Install-CheckLib.spec @@ -1,18 +1,17 @@ Name: perl-Module-Install-CheckLib Version: 0.12 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Module::Install extension to check that a library is available License: GPL+ or Artistic URL: https://metacpan.org/release/Module-Install-CheckLib Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Module-Install-CheckLib-%{version}.tar.gz BuildArch: noarch BuildRequires: coreutils -BuildRequires: findutils # glibc-common for iconv BuildRequires: glibc-common BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(inc::Module::Install) BuildRequires: perl(lib) BuildRequires: perl(Module::Install::AutoLicense) @@ -22,7 +21,6 @@ BuildRequires: perl(Module::Install::Metadata) BuildRequires: perl(Module::Install::ReadmeFromPod) BuildRequires: perl(Module::Install::WriteAll) BuildRequires: perl(strict) -BuildRequires: sed # Run-time: BuildRequires: perl(base) BuildRequires: perl(Devel::CheckLib) >= 0.7 @@ -55,20 +53,19 @@ gracefully if they aren't. %setup -q -n Module-Install-CheckLib-%{version} # Remove bundled modules rm -r ./inc -sed -i -e '/^inc\//d' MANIFEST +perl -i -ne 'print $_ unless m{^inc/}' MANIFEST %build -perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} # Normalize encoding. The README is regenerated by -# Module::Install::ReadmeFromPod, +# Module::Install::ReadmeFromPod. iconv -f ISO-8859-1 -t UTF-8 < README > README.utf8 touch -r README README.utf8 mv README.utf8 README %install -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -delete +%{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -81,6 +78,9 @@ make test %{_mandir}/man3/* %changelog +* Wed Dec 15 2021 Petr Pisar - 0.12-16 +- Modernize a spec file + * Thu Jul 22 2021 Fedora Release Engineering - 0.12-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild