Modernize a spec file

epel9
Petr Písař 4 years ago
parent 68003ae6a7
commit 355941adbe

@ -1,11 +1,12 @@
Name: perl-Class-Unload Name: perl-Class-Unload
Version: 0.11 Version: 0.11
Release: 11%{?dist} Release: 12%{?dist}
Summary: Unload given class Summary: Unload given class
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/Class-Unload URL: https://metacpan.org/release/Class-Unload
Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/Class-Unload-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/Class-Unload-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl-generators BuildRequires: perl-generators
@ -35,11 +36,11 @@ from %%INC.
%setup -q -n Class-Unload-%{version} %setup -q -n Class-Unload-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT %{make_install}
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
@ -52,6 +53,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Aug 21 2020 Petr Pisar <ppisar@redhat.com> - 0.11-12
- Modernize a spec file
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-11 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Loading…
Cancel
Save