More spec clean-ups
- Use author-independent source URL - Sort build requirements - Fix permissions verbosely
This commit is contained in:
parent
5106e27477
commit
0e94125f38
@ -7,15 +7,15 @@ Release: 36%{?dist}
|
|||||||
Summary: Perl interface to the UNIX syslog(3) calls
|
Summary: Perl interface to the UNIX syslog(3) calls
|
||||||
License: Artistic 2.0
|
License: Artistic 2.0
|
||||||
URL: https://metacpan.org/release/Unix-Syslog
|
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
|
# Module Build
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
# Module Runtime
|
# Module Runtime
|
||||||
BuildRequires: perl(DynaLoader)
|
BuildRequires: perl(DynaLoader)
|
||||||
@ -48,8 +48,8 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{opt
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%{make_install}
|
%{make_install}
|
||||||
find %{buildroot} -type f -name '*.bs' -a -empty -delete
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
Loading…
Reference in New Issue
Block a user