Compare commits

...

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Data-OptList-0.110.tar.gz SOURCES/Data-OptList-0.114.tar.gz

@ -1 +1 @@
c86c8cb797f9717861fc96f3b1eeea5c3359ceb5 SOURCES/Data-OptList-0.110.tar.gz d78d8e5766e2cac611d0bf0566b5ee5f87daad19 SOURCES/Data-OptList-0.114.tar.gz

@ -9,10 +9,10 @@
%endif %endif
Name: perl-Data-OptList Name: perl-Data-OptList
Version: 0.110 Version: 0.114
Release: 17%{?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
URL: https://metacpan.org/release/Data-OptList URL: https://metacpan.org/release/Data-OptList
Source0: https://cpan.metacpan.org/modules/by-module/Data/Data-OptList-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/Data/Data-OptList-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -20,9 +20,11 @@ BuildArch: noarch
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)
@ -39,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
@ -66,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
@ -82,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
@ -95,13 +116,65 @@ 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
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.110-17 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.114-7
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Bump release for October 2024 mass rebuild:
Related: rhbz#1991688 Resolves: RHEL-64018
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.114-6
- Rebuilt for MSVSphere 10
* 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 Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.110-16 * Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.110-16
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-15 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.110-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save