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:
parent
de2af134e3
commit
1e42c367db
@ -1,17 +1,17 @@
|
|||||||
Name: perl-Test-Exception
|
Name: perl-Test-Exception
|
||||||
Version: 0.43
|
Version: 0.43
|
||||||
Release: 22%{?dist}
|
Release: 23%{?dist}
|
||||||
Summary: Library of test functions for exception based Perl code
|
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
|
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
|
BuildArch: noarch
|
||||||
# Module Build
|
# Module Build
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
# Module Runtime
|
# Module Runtime
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
@ -26,7 +26,7 @@ BuildRequires: perl(overload)
|
|||||||
BuildRequires: perl(Test::Builder::Tester)
|
BuildRequires: perl(Test::Builder::Tester)
|
||||||
BuildRequires: perl(Test::Harness)
|
BuildRequires: perl(Test::Harness)
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
# Runtime
|
# Dependencies
|
||||||
Requires: perl(Carp)
|
Requires: perl(Carp)
|
||||||
|
|
||||||
# Avoid bogus perl(DB) provide
|
# Avoid bogus perl(DB) provide
|
||||||
@ -49,8 +49,8 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -61,6 +61,13 @@ make test
|
|||||||
%{_mandir}/man3/Test::Exception.3*
|
%{_mandir}/man3/Test::Exception.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.43-22
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user