Compare commits

...

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

2
.gitignore vendored

@ -1 +1 @@
SOURCES/perlfaq-5.20201107.tar.gz SOURCES/perlfaq-5.20240218.tar.gz

@ -1 +1 @@
7ee7ddf809175caa1e23c4585957c43713bca0fa SOURCES/perlfaq-5.20201107.tar.gz b8e496fb26c300677cf42a5187eba1ada9a67513 SOURCES/perlfaq-5.20240218.tar.gz

@ -1,9 +1,9 @@
Name: perl-perlfaq Name: perl-perlfaq
Version: 5.20201107 Version: 5.20240218
Release: 4%{?dist} Release: 511%{?dist}
Summary: Frequently asked questions about Perl Summary: Frequently asked questions about Perl
# Code examples are Public Domain # Code examples are Public Domain
License: (GPL+ or Artistic) and Public Domain License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LicenseRef-Fedora-Public-Domain
URL: https://metacpan.org/release/perlfaq URL: https://metacpan.org/release/perlfaq
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/perlfaq-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/perlfaq-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -12,6 +12,7 @@ BuildRequires: make
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.6 BuildRequires: perl(:VERSION) >= 5.6
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
@ -21,40 +22,119 @@ BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle) BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3) BuildRequires: perl(IPC::Open3)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Conflicts: perl < 4:5.22.0-347 Conflicts: perl < 4:5.22.0-347
%description %description
The perlfaq comprises several documents that answer the most commonly asked The perlfaq comprises several documents that answer the most commonly asked
questions about Perl and Perl programming. questions about Perl and Perl programming.
%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 perlfaq-%{version} %setup -q -n perlfaq-%{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
%license LICENSE %license LICENSE
%doc Changes README %doc Changes README
%{perl_vendorlib}/* %{perl_vendorlib}/perlfaq*
%{_mandir}/man3/* %{perl_vendorlib}/perlglossary*
%{_mandir}/man3/perlfaq*
%{_mandir}/man3/perlglossary*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.20201107-4 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 5.20240218-511
- 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> - 5.20240218-510
- Increase release to favour standalone package
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 5.20240218-1
- 5.20240218 bump
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 5.20230812-4
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.20230812-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.20230812-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Aug 24 2023 Jitka Plesnikova <jplesnik@redhat.com> - 5.20230812-1
- 5.20230812 bump (rhbz#2231653)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.20230701-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 5.20230701-2
- Perl 5.38 rebuild
* Mon Jul 10 2023 Jitka Plesnikova <jplesnik@redhat.com> - 5.20230701-1
- 5.20230701 bump (rhbz#2219017)
- Package tests
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.20210520-490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.20210520-489
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 5.20210520-488
- Increase release to favour standalone package
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.20210520-479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.20210520-478
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.20210520-477
- Increase release to favour standalone package
* Thu May 20 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.20210520-1
- 5.20210520 bump
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.20201107-3 * Mon Apr 12 2021 Jitka Plesnikova <jplesnik@redhat.com> - 5.20210411-1
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - 5.20210411 bump
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.20201107-2 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.20201107-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save