From 0e94125f38b356b624c1faca029ada5a06cc7884 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 6 Apr 2020 16:42:59 +0100 Subject: [PATCH] More spec clean-ups - Use author-independent source URL - Sort build requirements - Fix permissions verbosely --- .rpmlint => perl-Unix-Syslog.rpmlintrc | 0 perl-Unix-Syslog.spec | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename .rpmlint => perl-Unix-Syslog.rpmlintrc (100%) diff --git a/.rpmlint b/perl-Unix-Syslog.rpmlintrc similarity index 100% rename from .rpmlint rename to perl-Unix-Syslog.rpmlintrc diff --git a/perl-Unix-Syslog.spec b/perl-Unix-Syslog.spec index 13928d0..1f097dc 100644 --- a/perl-Unix-Syslog.spec +++ b/perl-Unix-Syslog.spec @@ -7,15 +7,15 @@ Release: 36%{?dist} Summary: Perl interface to the UNIX syslog(3) calls License: Artistic 2.0 URL: https://metacpan.org/release/Unix-Syslog -Source0: https://cpan.metacpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Unix/Unix-Syslog-%{version}.tar.gz # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: gcc BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Module Runtime BuildRequires: perl(DynaLoader) @@ -48,8 +48,8 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{opt %install %{make_install} -find %{buildroot} -type f -name '*.bs' -a -empty -delete -%{_fixperms} %{buildroot} +find %{buildroot} -type f -name '*.bs' -empty -delete +%{_fixperms} -c %{buildroot} %check %if %{with test}