More spec clean-ups

- Use author-independent source URL
- Fix permissions verbosely
This commit is contained in:
Paul Howarth 2020-04-07 08:25:27 +01:00
parent 0717886139
commit 34aac268a1

View File

@ -4,7 +4,7 @@ Release: 6%{?dist}
Summary: IPv6 related part of the C socket.h defines and structure manipulators
License: BSD
URL: https://metacpan.org/release/Socket6
Source0: https://cpan.metacpan.org/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.gz
Source0: https://cpan.metacpan.org/modules/by-module/Socket6/Socket6-%{version}.tar.gz
# Build:
BuildRequires: coreutils
BuildRequires: findutils
@ -46,7 +46,7 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{opt
%install
%{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
%{_fixperms} -c %{buildroot}
%check
make test