Modernize spec.

Convert license to SPDX.
Update sources to sha512.
This commit is contained in:
Ralf Corsépius 2022-11-28 13:11:01 +01:00
parent 74f9c209d5
commit 77a99e4e06
2 changed files with 13 additions and 8 deletions

View File

@ -1,14 +1,14 @@
Name: perl-Test-LongString
Version: 0.17
Release: 24%{?dist}
Release: 25%{?dist}
Summary: Perl module to test long strings
License: GPL+ or Artistic
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Test-LongString
Source0: https://cpan.metacpan.org/authors/id/R/RG/RGARCIA/Test-LongString-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: %{__make}
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
# Required by the tests
@ -31,15 +31,15 @@ module for you.
%setup -q -n Test-LongString-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
%{make_install}
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%{__make} test
%files
%doc Changes README
@ -47,6 +47,11 @@ make test
%{_mandir}/man3/*
%changelog
* Mon Nov 28 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.17-25
- Modernize spec.
- Convert license to SPDX.
- Update sources to sha512.
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
8baab770f61ebd5647a9dd3679f42fbd Test-LongString-0.17.tar.gz
SHA512 (Test-LongString-0.17.tar.gz) = 1c0cd6fea35bb72816451ce0790002c9dfb945390bc85d22d04670dd5af7ebbe795307ad361e2615ce4ab4f02a317a3aa5d297f2165bd3b1f6de40b3240f1352