From 0152d7bd693da59f46a0e27a4617c9ed9fdce448 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 11 Jan 2021 14:53:56 +0000 Subject: [PATCH] Spec tidy-up - Use author-independent source URL - Specify all build dependencies - Simplify find command using -delete - Fix permissions verbosely --- perl-IO-Socket-INET6.spec | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/perl-IO-Socket-INET6.spec b/perl-IO-Socket-INET6.spec index b1aace6..8535afb 100644 --- a/perl-IO-Socket-INET6.spec +++ b/perl-IO-Socket-INET6.spec @@ -6,16 +6,18 @@ Name: perl-IO-Socket-INET6 Version: 2.72 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Perl Object interface for AF_INET|AF_INET6 domain sockets License: GPL+ or Artistic URL: https://metacpan.org/release/IO-Socket-INET6 -Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Socket-INET6-%{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) @@ -51,8 +53,8 @@ make %{?_smp_mflags} %install 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 @@ -64,6 +66,13 @@ make test %{_mandir}/man3/IO::Socket::INET6.3* %changelog +* Mon Jan 11 2021 Paul Howarth - 2.72-21 +- Spec tidy-up + - Use author-independent source URL + - Specify all build dependencies + - Simplify find command using -delete + - Fix permissions verbosely + * Tue Jul 28 2020 Fedora Release Engineering - 2.72-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild