Compare commits

...

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

2
.gitignore vendored

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

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

@ -9,10 +9,10 @@
%endif %endif
Name: perl-Data-OptList Name: perl-Data-OptList
Version: 0.114 Version: 0.110
Release: 7%{?dist} Release: 17%{?dist}
Summary: Parse and validate simple name/value option pairs Summary: Parse and validate simple name/value option pairs
License: GPL-1.0-or-later OR Artistic-1.0-Perl License: GPL+ or Artistic
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,11 +20,9 @@ BuildArch: noarch
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.12 BuildRequires: perl-generators
BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker)
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)
@ -41,11 +39,10 @@ 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
# (none) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%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
@ -69,22 +66,12 @@ $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}
# Help generators to recognize Perl scripts # Fix shellbangs in tests
for F in t/*.t; do for F in t/*; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
chmod +x "$F"
done done
%build %build
@ -95,14 +82,6 @@ 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
@ -116,62 +95,13 @@ 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
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.114-7 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.110-17
- Bump release for October 2024 mass rebuild: - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Resolves: RHEL-64018 Related: rhbz#1991688
* 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 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.110-16
- Perl 5.34 rebuild - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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