Spec tidy-up

- Use SPDX-format license tag
- Use author-independent source URL
- Fix permissions verbosely
This commit is contained in:
Paul Howarth 2023-03-27 13:42:09 +01:00
parent 9dbbf2595c
commit fc1fc01e4b

View File

@ -1,17 +1,17 @@
Name: perl-DateTime-Format-IBeat Name: perl-DateTime-Format-IBeat
Version: 0.161 Version: 0.161
Release: 45%{?dist} Release: 46%{?dist}
Summary: Format times in .beat notation Summary: Format times in .beat notation
License: GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/DateTime-Format-IBeat URL: https://metacpan.org/release/DateTime-Format-IBeat
Source0: http://backpan.perl.org/authors/id/E/EM/EMARTIN/DateTime-Format-IBeat-0.161.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-Format-IBeat-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
# Build # 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 # Module
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
@ -24,6 +24,7 @@ BuildRequires: perl(Test::More) >= 0.47
# Optional Tests # Optional Tests
BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod) >= 1.00
# Dependencies # Dependencies
# (none)
%description %description
No Time Zones, No Geographical Borders No Time Zones, No Geographical Borders
@ -43,7 +44,7 @@ make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot} %{_fixperms} -c %{buildroot}
%check %check
make test make test
@ -55,6 +56,11 @@ make test
%{_mandir}/man3/DateTime::Format::IBeat.3* %{_mandir}/man3/DateTime::Format::IBeat.3*
%changelog %changelog
* Mon Mar 27 2023 Paul Howarth <paul@city-fan.org> - 0.161-46
- Use SPDX-format license tag
- Use author-independent source URL
- Fix permissions verbosely
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.161-45 * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.161-45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild