From 254ee86ff227e7962fd8479792de6f01704ed92a Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Feb 05 2020 08:19:32 +0000 Subject: Modernize the spec file --- diff --git a/perl-IPC-SysV.spec b/perl-IPC-SysV.spec index c1d285c..a961850 100644 --- a/perl-IPC-SysV.spec +++ b/perl-IPC-SysV.spec @@ -7,7 +7,7 @@ Name: perl-IPC-SysV Version: 2.07 -Release: 441%{?dist} +Release: 442%{?dist} Summary: Object interface to System V IPC License: GPL+ or Artistic URL: https://metacpan.org/release/IPC-SysV @@ -15,10 +15,10 @@ Source0: https://cpan.metacpan.org/authors/id/M/MH/MHX/IPC-SysV-%{version BuildRequires: findutils BuildRequires: gcc BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) # Run-time: BuildRequires: perl(Carp) @@ -47,16 +47,16 @@ inter-process calls. %setup -q -n IPC-SysV-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" +%{make_build} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -delete +%{make_install} find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check +unset PERL_CORE make test %files @@ -66,6 +66,9 @@ make test %{_mandir}/man3/* %changelog +* Wed Feb 05 2020 Petr Pisar - 2.07-442 +- Modernize the spec file + * Thu Jan 30 2020 Fedora Release Engineering - 2.07-441 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild