Modernize spec.

Convert license to SPDX.
This commit is contained in:
Ralf Corsépius 2022-11-30 07:58:50 +01:00
parent b87f945d8c
commit 12c7dd7abc

View File

@ -1,12 +1,11 @@
Summary: Tools to test taintedness
Name: perl-Test-Taint
Version: 1.08
Release: 11%{?dist}
License: GPL+ or Artistic
Release: 12%{?dist}
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Test-Taint
Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/Test-Taint-%{version}.tar.gz
BuildRequires: make
BuildRequires: gcc
BuildRequires: %{__perl}
BuildRequires: %{__make}
@ -45,11 +44,11 @@ Test::More style.
%setup -q -n Test-Taint-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}" NO_PACKLIST=1
%{__make} %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="${RPM_OPT_FLAGS}" NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
%{make_install}
chmod -R u+w $RPM_BUILD_ROOT/*
%check
@ -62,6 +61,10 @@ chmod -R u+w $RPM_BUILD_ROOT/*
%{_mandir}/man3/*
%changelog
* Wed Nov 30 2022 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-12
- Modernize spec.
- Convert license to SPDX.
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.08-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild