import UBI perl-Data-OptList-0.114-7.el10
This commit is contained in:
parent
f8edf28c31
commit
115203be4b
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/Data-OptList-0.110.tar.gz
|
Data-OptList-0.114.tar.gz
|
||||||
|
@ -1 +0,0 @@
|
|||||||
c86c8cb797f9717861fc96f3b1eeea5c3359ceb5 SOURCES/Data-OptList-0.110.tar.gz
|
|
@ -9,21 +9,22 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: perl-Data-OptList
|
Name: perl-Data-OptList
|
||||||
Version: 0.110
|
Version: 0.114
|
||||||
Release: 7%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Parse and validate simple name/value option pairs
|
Summary: Parse and validate simple name/value option pairs
|
||||||
License: GPL+ or Artistic
|
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||||
Group: Development/Libraries
|
URL: https://metacpan.org/release/Data-OptList
|
||||||
URL: http://search.cpan.org/dist/Data-OptList/
|
Source0: https://cpan.metacpan.org/modules/by-module/Data/Data-OptList-%{version}.tar.gz
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-%{version}.tar.gz
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Module Build
|
# Module Build
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: findutils
|
BuildRequires: findutils
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: perl(:VERSION) >= 5.12
|
||||||
|
BuildRequires: perl(Config)
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
|
||||||
# Module Runtime
|
# Module Runtime
|
||||||
BuildRequires: perl(List::Util)
|
BuildRequires: perl(List::Util)
|
||||||
BuildRequires: perl(Params::Util)
|
BuildRequires: perl(Params::Util)
|
||||||
@ -40,10 +41,11 @@ BuildRequires: perl(CPAN::Meta::Prereqs)
|
|||||||
%endif
|
%endif
|
||||||
%if %{with perl_Data_OptList_enables_extra_test}
|
%if %{with perl_Data_OptList_enables_extra_test}
|
||||||
# Extra Tests
|
# Extra Tests
|
||||||
|
BuildRequires: perl(Encode)
|
||||||
BuildRequires: perl(Test::Pod) >= 1.41
|
BuildRequires: perl(Test::Pod) >= 1.41
|
||||||
%endif
|
%endif
|
||||||
# Dependencies
|
# Dependencies
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
# (none)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Hashes are great for storing named data, but if you want more than one entry
|
Hashes are great for storing named data, but if you want more than one entry
|
||||||
@ -67,12 +69,22 @@ $values = Data::OptList::mkopt([
|
|||||||
This works by assuming that any defined scalar is a name and any reference
|
This works by assuming that any defined scalar is a name and any reference
|
||||||
following a name is its value.
|
following a name is its value.
|
||||||
|
|
||||||
|
%package tests
|
||||||
|
Summary: Tests for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: perl-Test-Harness
|
||||||
|
|
||||||
|
%description tests
|
||||||
|
Tests from %{name}. Execute them
|
||||||
|
with "%{_libexecdir}/%{name}/test".
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Data-OptList-%{version}
|
%setup -q -n Data-OptList-%{version}
|
||||||
|
|
||||||
# Fix shellbangs in tests
|
# Help generators to recognize Perl scripts
|
||||||
for F in t/*; do
|
for F in t/*.t; do
|
||||||
perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
|
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||||
|
chmod +x "$F"
|
||||||
done
|
done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -83,6 +95,14 @@ make %{?_smp_mflags}
|
|||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -delete
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
# Install tests
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||||
|
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||||
|
#!/bin/sh
|
||||||
|
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
EOF
|
||||||
|
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -96,9 +116,89 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
|||||||
%{perl_vendorlib}/Data/
|
%{perl_vendorlib}/Data/
|
||||||
%{_mandir}/man3/Data::OptList.3*
|
%{_mandir}/man3/Data::OptList.3*
|
||||||
|
|
||||||
|
%files tests
|
||||||
|
%{_libexecdir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.110-7
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.114-7
|
||||||
- Rebuild with enable hardening (bug #1636329)
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Tue Jul 23 2024 Jitka Plesnikova <jplesnik@redhat.com> - 0.114-6
|
||||||
|
- Package tests
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.114-5
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.114-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.114-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.114-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun May 7 2023 Paul Howarth <paul@city-fan.org> - 0.114-1
|
||||||
|
- Update to 0.114
|
||||||
|
- Data::OptList now requires perl v5.12.0
|
||||||
|
- Tests no longer add "-T" to shebang, so do not invoke taint mode
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.113-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 1 2023 Paul Howarth <paul@city-fan.org> - 0.113-1
|
||||||
|
- Update to 0.113 (rhbz#2157247)
|
||||||
|
- Update author contact info
|
||||||
|
- Use SPDX-format license tag
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.112-4
|
||||||
|
- Perl 5.36 rebuild
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.112-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 28 2021 Paul Howarth <paul@city-fan.org> - 0.112-1
|
||||||
|
- Update to 0.112
|
||||||
|
- Update author contact info
|
||||||
|
- Add perl version support to docs
|
||||||
|
- Replace a "goto" deep in the guts with a sub call, for speed
|
||||||
|
|
||||||
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.110-16
|
||||||
|
- Perl 5.34 rebuild
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.110-13
|
||||||
|
- Perl 5.32 rebuild
|
||||||
|
|
||||||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.110-10
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.110-7
|
||||||
|
- Perl 5.28 rebuild
|
||||||
|
|
||||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-6
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
Loading…
Reference in New Issue
Block a user