More spec clean-ups

- Use author-independent source URL
- Sort build requirements
- Fix permissions verbosely
This commit is contained in:
Paul Howarth 2020-04-06 16:42:59 +01:00
parent 5106e27477
commit 0e94125f38
2 changed files with 4 additions and 4 deletions

View File

@ -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}