|
|
|
@ -1,28 +1,35 @@
|
|
|
|
|
Name: perl-Params-Util
|
|
|
|
|
Version: 1.07
|
|
|
|
|
Release: 22%{?dist}
|
|
|
|
|
Version: 1.102
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: Simple standalone parameter-checking functions
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Params-Util/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-%{version}.tar.gz
|
|
|
|
|
URL: https://metacpan.org/release/Params-Util
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/Params-Util-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Scalar::Util) >= 1.18
|
|
|
|
|
Requires: perl(XSLoader) >= 0.22
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: %{__perl}
|
|
|
|
|
BuildRequires: %{__make}
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
|
BuildRequires: perl(Capture::Tiny)
|
|
|
|
|
BuildRequires: perl(Config::AutoConf)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.52
|
|
|
|
|
BuildRequires: perl(File::Spec) >= 0.82
|
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(inc::latest)
|
|
|
|
|
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
|
BuildRequires: perl(Scalar::Util) >= 1.18
|
|
|
|
|
BuildRequires: perl(XSLoader) >= 0.22
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
|
# Tests:
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
@ -32,6 +39,7 @@ BuildRequires: perl(File::Spec::Functions)
|
|
|
|
|
|
|
|
|
|
# Remove under-specified dependencies
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Scalar::Util\\)$
|
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XSLoader\\)$
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Params::Util provides a basic set of importable functions that
|
|
|
|
@ -39,19 +47,20 @@ makes checking parameters a hell of a lot easier.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Params-Util-%{version}
|
|
|
|
|
rm -rf inc/latest* inc/inc_*
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
%{__make} pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test AUTOMATED_TESTING=1
|
|
|
|
|
%{__make} test AUTOMATED_TESTING=1
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes
|
|
|
|
@ -62,8 +71,51 @@ make test AUTOMATED_TESTING=1
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Dec 10 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.07-22
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.102-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.102-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.102-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 24 2020 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.102-2
|
|
|
|
|
- Filter out redundant unversioned R:perl(XSLoader).
|
|
|
|
|
|
|
|
|
|
* Tue Nov 24 2020 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.102-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
- Reflect Source0:-URL having changed.
|
|
|
|
|
- Rework BRs.
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-31
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-30
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-29
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-28
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-27
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-26
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 21 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.07-25
|
|
|
|
|
- Add BR: gcc (RHBZ#1605416).
|
|
|
|
|
- Cleanup spec.
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.07-24
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.07-23
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.07-22
|
|
|
|
|
- Escape macros in %%changelog
|
|
|
|
|