From f06412a6d97073e5af7c3ba86abc9d191eca9fc0 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Fri, 8 Jan 2021 13:36:59 +0000 Subject: [PATCH] Spec tidy-up - Use author-independent source URL - Specify all build dependencies - Drop redundant buildroot cleaning in %install section - Simplify find command using -delete - Fix permissions verbosely --- perl-IO-Multiplex.spec | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/perl-IO-Multiplex.spec b/perl-IO-Multiplex.spec index fbf2908..d193009 100644 --- a/perl-IO-Multiplex.spec +++ b/perl-IO-Multiplex.spec @@ -1,15 +1,17 @@ Summary: Manage IO on many file handles Name: perl-IO-Multiplex Version: 1.16 -Release: 17%{?dist} +Release: 18%{?dist} License: GPL+ or Artistic URL: https://metacpan.org/release/IO-Multiplex -Source0: https://cpan.metacpan.org/authors/id/B/BB/BBB/IO-Multiplex-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Multiplex-%{version}.tar.gz BuildArch: noarch # Module Build -BuildRequires: make -BuildRequires: perl-interpreter +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(Carp) @@ -46,10 +48,9 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -%{_fixperms} %{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check make test @@ -60,6 +61,14 @@ make test %{_mandir}/man3/IO::Multiplex.3* %changelog +* Fri Jan 8 2021 Paul Howarth - 1.16-18 +- Spec tidy-up + - Use author-independent source URL + - Specify all build dependencies + - Drop redundant buildroot cleaning in %%install section + - Simplify find command using -delete + - Fix permissions verbosely + * Tue Jul 28 2020 Fedora Release Engineering - 1.16-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild