Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/perl-Params-Check.git#50b53a6948d8c3c90e0fcaa0dbbdf9a9455dc448
This commit is contained in:
parent
cc9179c855
commit
85b0b0a912
@ -2,14 +2,17 @@ Name: perl-Params-Check
|
||||
# Epoch to compete with perl.spec
|
||||
Epoch: 1
|
||||
Version: 0.38
|
||||
Release: 457%{?dist}
|
||||
Release: 458%{?dist}
|
||||
Summary: Generic input parsing/checking mechanism
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/Params-Check
|
||||
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Params-Check-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/Params/Params-Check-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(strict)
|
||||
# Run-time:
|
||||
@ -36,18 +39,26 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -delete
|
||||
%{_fixperms} -c $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc CHANGES README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
%{perl_vendorlib}/Params/
|
||||
%{_mandir}/man3/Params::Check.3*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 13 2021 Paul Howarth <paul@city-fan.org> - 1:0.38-458
|
||||
- Spec tidy-up
|
||||
- Use author-independent source URL
|
||||
- Specify all build dependencies
|
||||
- Simplify find command using -delete
|
||||
- Fix permissions verbosely
|
||||
- Make %%files list more explicit
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.38-457
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user