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 Name: perl-Probe-Perl
Version: 0.03 Version: 0.03
Release: 22%{?dist} Release: 23%{?dist}
Summary: Information about the currently running perl Summary: Information about the currently running perl
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/Probe-Perl URL: https://metacpan.org/release/Probe-Perl
Source0: https://cpan.metacpan.org/authors/id/K/KW/KWILLIAMS/Probe-Perl-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/K/KW/KWILLIAMS/Probe-Perl-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: make BuildRequires: coreutils
BuildRequires: perl-interpreter BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Run-time: # Run-time:
@ -30,12 +31,11 @@ Module::Build project, but has been externalized here for general use.
%setup -q -n Probe-Perl-%{version} %setup -q -n Probe-Perl-%{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=%{buildroot} %{make_install}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
@ -47,6 +47,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %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 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.03-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save