Modernize spec file

epel9 imports/e9/perl-Probe-Perl-0.03-23.el9
Jitka Plesnikova 3 years ago
parent 4164e4be0a
commit 9a215b684f

@ -1,15 +1,16 @@
Name: perl-Probe-Perl
Version: 0.03
Release: 22%{?dist}
Release: 23%{?dist}
Summary: Information about the currently running perl
License: GPL+ or Artistic
URL: https://metacpan.org/release/Probe-Perl
Source0: https://cpan.metacpan.org/authors/id/K/KW/KWILLIAMS/Probe-Perl-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Run-time:
@ -30,12 +31,11 @@ Module::Build project, but has been externalized here for general use.
%setup -q -n Probe-Perl-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
%{make_install}
%{_fixperms} %{buildroot}/*
%check
@ -47,6 +47,9 @@ make test
%{_mandir}/man3/*
%changelog
* Sun Jan 09 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.03-23
- Modernize spec file
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save