Modernize a spec file

epel9
Petr Písař 5 years ago
parent dadbd97ac0
commit 850f41f67d

@ -1,14 +1,16 @@
Name: perl-Devel-ArgNames Name: perl-Devel-ArgNames
Version: 0.03 Version: 0.03
Release: 18%{?dist} Release: 19%{?dist}
Summary: Figure out the names of variables passed into subroutines Summary: Figure out the names of variables passed into subroutines
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/Devel-ArgNames URL: https://metacpan.org/release/Devel-ArgNames
Source0: https://cpan.metacpan.org/authors/id/N/NU/NUFFIN/Devel-ArgNames-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/N/NU/NUFFIN/Devel-ArgNames-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl-interpreter BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) BuildRequires: perl(strict)
# Run-time: # Run-time:
BuildRequires: perl(base) BuildRequires: perl(base)
@ -30,12 +32,11 @@ with the variables found on @_.
%setup -q -n Devel-ArgNames-%{version} %setup -q -n Devel-ArgNames-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor 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}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
@ -46,6 +47,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Aug 21 2020 Petr Pisar <ppisar@redhat.com> - 0.03-19
- Modernize a spec file
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-18 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

Loading…
Cancel
Save