From 2deca08152c32889c22e43344cb23950f5bc160c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 21 Aug 2020 10:25:31 +0200 Subject: [PATCH] Modernize a spec file --- perl-Class-Accessor-Grouped.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/perl-Class-Accessor-Grouped.spec b/perl-Class-Accessor-Grouped.spec index 2d3ec61..1dbe460 100644 --- a/perl-Class-Accessor-Grouped.spec +++ b/perl-Class-Accessor-Grouped.spec @@ -7,7 +7,7 @@ Name: perl-Class-Accessor-Grouped Version: 0.10014 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Build groups of accessors License: GPL+ or Artistic URL: https://metacpan.org/release/Class-Accessor-Grouped @@ -74,14 +74,14 @@ getters and setters. %setup -q -n Class-Accessor-Grouped-%{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 NO_PACKLIST=1 -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=%{buildroot} +%{make_install} %{_fixperms} %{buildroot}/* %check @@ -93,6 +93,9 @@ make test %{_mandir}/man3/* %changelog +* Fri Aug 21 2020 Petr Pisar - 0.10014-10 +- Modernize a spec file + * Tue Jul 28 2020 Fedora Release Engineering - 0.10014-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild