Spec tidy-up

- Use author-independent source URL
- Use %{make_build} and %{make_install}
f38
Paul Howarth 5 years ago
parent 6f9e3d7fb1
commit d3c6d3ed9b

@ -1,10 +1,10 @@
Name: perl-autobox Name: perl-autobox
Version: 3.0.1 Version: 3.0.1
Release: 6%{?dist} Release: 7%{?dist}
Summary: Call methods on native types Summary: Call methods on native types
License: Artistic 2.0 License: Artistic 2.0
URL: https://metacpan.org/release/autobox URL: https://metacpan.org/release/autobox
Source0: https://cpan.metacpan.org/authors/id/C/CH/CHOCOLATE/autobox-v%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/autobox/autobox-v%{version}.tar.gz
# Build: # Build:
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
@ -55,10 +55,10 @@ blessed references.
%build %build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make install DESTDIR=%{buildroot} %{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
@ -75,6 +75,11 @@ make test
%{_mandir}/man3/autobox.3* %{_mandir}/man3/autobox.3*
%changelog %changelog
* Wed Nov 6 2019 Paul Howarth <paul@city-fan.org> - 3.0.1-7
- Spec tidy-up
- Use author-independent source URL
- Use %%{make_build} and %%{make_install}
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-6 * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

Loading…
Cancel
Save