commit 7a39a51106ecd32ab7946378454b010795f96502 Author: MSVSphere Packaging Team Date: Tue Nov 26 18:01:28 2024 +0300 import perl-Pod-Checker-1.77-510.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a4cbc5c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Pod-Checker-1.77.tar.gz diff --git a/.perl-Pod-Checker.metadata b/.perl-Pod-Checker.metadata new file mode 100644 index 0000000..61b4a5d --- /dev/null +++ b/.perl-Pod-Checker.metadata @@ -0,0 +1 @@ +e772e4776848801584fdba8e5ec298c8bd18f453 SOURCES/Pod-Checker-1.77.tar.gz diff --git a/SPECS/perl-Pod-Checker.spec b/SPECS/perl-Pod-Checker.spec new file mode 100644 index 0000000..7743875 --- /dev/null +++ b/SPECS/perl-Pod-Checker.spec @@ -0,0 +1,238 @@ +Name: perl-Pod-Checker +# Compete with perl.spec +Epoch: 4 +Version: 1.77 +Release: 510%{?dist} +Summary: Check POD documents for syntax errors +License: GPL-1.0-or-later OR Artistic-1.0-Perl +URL: https://metacpan.org/release/Pod-Checker +Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Checker-%{version}.tar.gz +BuildArch: noarch +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Spec) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +# Getopt::Long not used at tests +BuildRequires: perl(Pod::Simple) >= 3.4 +BuildRequires: perl(Pod::Simple::Methody) +# Pod::Usage not used at tests +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(FileHandle) +BuildRequires: perl(Test::More) +BuildRequires: perl(vars) +# VMS::Filespec not used +Requires: perl(Pod::Simple) >= 3.28 + +%description +Module and tools to verify POD documentation contents for compliance with the +Plain Old Documentation format specifications. + +%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 +%setup -q -n Pod-Checker-%{version} +for F in CHANGES README; do + perl -pi -e 's/\r//' "$F" +done + +# Help generators to recognize Perl scripts +for F in `find t/pod -name *.t -o -name *.pl`; do + perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F" + chmod +x "$F" +done + + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} + +%install +%{make_install} +%{_fixperms} %{buildroot}/* + +# Install tests +mkdir -p %{buildroot}%{_libexecdir}/%{name} +cp -a t %{buildroot}%{_libexecdir}/%{name} +cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF' +#!/bin/bash +set -e +# Some tests write into temporary files/directories. The easiest solution +# is to copy the tests into a writable directory and execute them from there. +DIR=$(mktemp -d) +pushd "$DIR" +cp -a %{_libexecdir}/%{name}/* ./ +prove -I . -r -j "$(getconf _NPROCESSORS_ONLN)" +popd +rm -rf "$DIR" +EOF +chmod +x %{buildroot}%{_libexecdir}/%{name}/test + +%check +export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}') +make test + +%files +%doc CHANGES README +%{_bindir}/podchecker +%{perl_vendorlib}/Pod* +%{_mandir}/man1/podchecker* +%{_mandir}/man3/Pod::Checker* + +%files tests +%{_libexecdir}/%{name} + +%changelog +* Tue Nov 26 2024 MSVSphere Packaging Team - 4:1.77-510 +- Rebuilt for MSVSphere 10 + +* Thu Jul 18 2024 Jitka Plesnikova - 4:1.77-510 +- Increase release to favour standalone package + +* Mon Jun 24 2024 Troy Dawson - 4:1.77-2 +- Bump release for June 2024 mass rebuild + +* Mon Feb 05 2024 Jitka Plesnikova - 4:1.77-1 +- 1.77 bump (rhbz#2262670) + +* Thu Jan 25 2024 Fedora Release Engineering - 4:1.76-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 4:1.76-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 05 2024 Jitka Plesnikova - 4:1.76-1 +- 1.76 bump (rhbz#2256687) + +* Fri Jul 21 2023 Fedora Release Engineering - 4:1.75-500 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 11 2023 Jitka Plesnikova - 4:1.75-499 +- Increase release to favour standalone package + +* Fri Jan 20 2023 Fedora Release Engineering - 4:1.75-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 4:1.75-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 30 2022 Jitka Plesnikova - 4:1.75-2 +- Perl 5.36 rebuild + +* Sun May 22 2022 Jitka Plesnikova - 4:1.75-1 +- 1.75 bump +- Package tests + +* Fri Jan 21 2022 Fedora Release Engineering - 4:1.74-479 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 4:1.74-478 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 21 2021 Jitka Plesnikova - 4:1.74-477 +- Increase release to favour standalone package + +* Wed Jan 27 2021 Fedora Release Engineering - 4:1.74-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Oct 06 2020 Jitka Plesnikova - 4:1.74-1 +- 1.74 bump + +* Tue Jul 28 2020 Fedora Release Engineering - 4:1.73-457 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jun 22 2020 Jitka Plesnikova - 4:1.73-456 +- Increase release to favour standalone package + +* Thu Jan 30 2020 Fedora Release Engineering - 4:1.73-440 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 4:1.73-439 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 2019 Jitka Plesnikova - 4:1.73-438 +- Increase release to favour standalone package + +* Fri Feb 01 2019 Fedora Release Engineering - 4:1.73-418 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 4:1.73-417 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Jun 27 2018 Jitka Plesnikova - 4:1.73-416 +- Increase release to favour standalone package + +* Fri Feb 09 2018 Fedora Release Engineering - 4:1.73-395 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 4:1.73-394 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Jun 03 2017 Jitka Plesnikova - 4:1.73-393 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 4:1.73-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jun 01 2016 Petr Pisar - 4:1.73-1 +- 1.73 bump + +* Tue May 24 2016 Petr Pisar - 4:1.72-1 +- 1.72 bump + +* Sat May 14 2016 Jitka Plesnikova - 4:1.71-7 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 4:1.71-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 4:1.71-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 03 2015 Jitka Plesnikova - 4:1.71-4 +- Perl 5.22 rebuild + +* Thu Nov 13 2014 Petr Pisar - 4:1.71-3 +- Compete with perl.spec's epoch (bug #1163490) + +* Tue Aug 26 2014 Jitka Plesnikova - 1.71-2 +- Perl 5.20 rebuild + +* Mon Jun 23 2014 Petr Pisar - 1.71-1 +- 1.71 bump + +* Sat Jun 07 2014 Fedora Release Engineering - 1.70-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Sep 23 2013 Petr Pisar - 1.70-1 +- 1.70 bump + +* Sun Aug 04 2013 Fedora Release Engineering - 1.60-291 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Jul 15 2013 Petr Pisar - 1.60-290 +- Increase release to favour standalone package + +* Fri Jul 12 2013 Petr Pisar - 1.60-2 +- Perl 5.18 rebuild + +* Mon Feb 04 2013 Petr Pisar 1.60-1 +- Specfile autogenerated by cpanspec 1.78.