Spec tidy-up

- Use SPDX-format license tag
- Use author-independent source URL
- Fix permissions verbosely
- Simplify find command using -delete
This commit is contained in:
Paul Howarth 2023-05-15 12:11:48 +01:00
parent de2af134e3
commit 1e42c367db

View File

@ -1,17 +1,17 @@
Name: perl-Test-Exception
Version: 0.43
Release: 22%{?dist}
Release: 23%{?dist}
Summary: Library of test functions for exception based Perl code
License: GPL+ or Artistic
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Test-Exception
Source0: https://cpan.metacpan.org/authors/id/E/EX/EXODIST/Test-Exception-%{version}.tar.gz
Source0: https://cpan.metacpan.org/modules/by-module/Test/Test-Exception-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime
BuildRequires: perl(base)
@ -26,7 +26,7 @@ BuildRequires: perl(overload)
BuildRequires: perl(Test::Builder::Tester)
BuildRequires: perl(Test::Harness)
BuildRequires: perl(Test::More)
# Runtime
# Dependencies
Requires: perl(Carp)
# Avoid bogus perl(DB) provide
@ -49,8 +49,8 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
@ -61,6 +61,13 @@ make test
%{_mandir}/man3/Test::Exception.3*
%changelog
* Mon May 15 2023 Paul Howarth <paul@city-fan.org> - 0.43-23
- Spec tidy-up
- Use SPDX-format license tag
- Use author-independent source URL
- Fix permissions verbosely
- Simplify find command using -delete
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.43-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild