Compare commits

..

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

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Getopt-Long-2.52.tar.gz SOURCES/Getopt-Long-2.58.tar.gz

@ -1 +1 @@
2dae2e413403cd0a5fde43b7c9da3c455c95e6d8 SOURCES/Getopt-Long-2.52.tar.gz e39aacb99d261204efb6548e0817cb4427988012 SOURCES/Getopt-Long-2.58.tar.gz

@ -1,9 +1,9 @@
Name: perl-Getopt-Long Name: perl-Getopt-Long
Epoch: 1 Epoch: 1
Version: 2.52 Version: 2.58
Release: 4%{?dist} Release: 3%{?dist}
Summary: Extended processing of command line options Summary: Extended processing of command line options
License: GPLv2+ or Artistic License: GPL-2.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Getopt-Long URL: https://metacpan.org/release/Getopt-Long
Source0: https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/J/JV/JV/Getopt-Long-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -15,15 +15,15 @@ BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(lib) BuildRequires: perl(lib)
# Run-time: # Run-time:
BuildRequires: perl(base)
BuildRequires: perl(constant) BuildRequires: perl(constant)
BuildRequires: perl(Exporter) BuildRequires: perl(Exporter)
BuildRequires: perl(overload) BuildRequires: perl(overload)
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(Text::ParseWords) BuildRequires: perl(Text::ParseWords)
BuildRequires: perl(vars)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Tests
Requires: perl(overload) BuildRequires: perl(Test::More)
Requires: perl(Text::ParseWords) Requires: perl(Text::ParseWords)
# Recommended: # Recommended:
Requires: perl(Pod::Usage) >= 1.14 Requires: perl(Pod::Usage) >= 1.14
@ -40,32 +40,112 @@ a double dash "--". Support for bundling of command line options, as was the
case with the more traditional single-letter approach, is provided but not case with the more traditional single-letter approach, is provided but not
enabled by default. enabled by default.
%package tests
Summary: Tests for %{name}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Requires: perl-Test-Harness
Requires: perl(newgetopt.pl)
%description tests
Tests from %{name}. Execute them
with "%{_libexecdir}/%{name}/test".
%prep %prep
%setup -q -n Getopt-Long-%{version} %setup -q -n Getopt-Long-%{version}
# Help generators to recognize Perl scripts
for F in t/*.t; do
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
chmod +x "$F"
done
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build} %{make_build}
%install %install
%{make_install} %{make_install}
%{_fixperms} $RPM_BUILD_ROOT/* %{_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
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
make test make test
%files %files
%doc CHANGES examples README %doc Changes examples README.md
%{perl_vendorlib}/* %dir %{perl_vendorlib}/Getopt
%{_mandir}/man3/* %{perl_vendorlib}/Getopt/Long*
%{perl_vendorlib}/newgetopt.pl*
%{_mandir}/man3/Getopt::Long*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:2.52-4 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:2.58-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Bump release for October 2024 mass rebuild:
Related: rhbz#1991688 Resolves: RHEL-64018
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.58-2
- Perl 5.40 rebuild
* Wed Jul 17 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.58-1
- 2.58 bump
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:2.57-4
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.57-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.57-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Nov 13 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.57-1
- 2.57 bump (rhbz#2249036)
* Thu Nov 09 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.55-1
- 2.55 bump (rhbz#2248884)
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:2.52-3 * Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.54-500
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.54-499
- Increase release to favour standalone package
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.54-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Nov 21 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.54-1
- 2.54 bump
* Wed Nov 16 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.53-1
- 2.53 bump
- Package tests
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.52-489
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.52-488
- Increase release to favour standalone package
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.52-479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.52-478
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:2.52-477
- Increase release to favour standalone package
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.52-2 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.52-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save