From d3c6d3ed9b3bd4b78939552db673c496a4f95331 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Wed, 6 Nov 2019 10:35:31 +0000 Subject: [PATCH] Spec tidy-up - Use author-independent source URL - Use %{make_build} and %{make_install} --- perl-autobox.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/perl-autobox.spec b/perl-autobox.spec index 956b942..77a6f39 100644 --- a/perl-autobox.spec +++ b/perl-autobox.spec @@ -1,10 +1,10 @@ Name: perl-autobox Version: 3.0.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Call methods on native types License: Artistic 2.0 URL: https://metacpan.org/release/autobox -Source0: https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/autobox-v%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/autobox/autobox-v%{version}.tar.gz # Build: BuildRequires: coreutils BuildRequires: findutils @@ -55,10 +55,10 @@ blessed references. %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1 -make %{?_smp_mflags} +%{make_build} %install -make install DESTDIR=%{buildroot} +%{make_install} find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} -c %{buildroot} @@ -75,6 +75,11 @@ make test %{_mandir}/man3/autobox.3* %changelog +* Wed Nov 6 2019 Paul Howarth - 3.0.1-7 +- Spec tidy-up + - Use author-independent source URL + - Use %%{make_build} and %%{make_install} + * Fri Jul 26 2019 Fedora Release Engineering - 3.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild