|
|
|
Name: perl-Pod-Checker
|
|
|
|
# Compete with perl.spec
|
|
|
|
Epoch: 4
|
|
|
|
Version: 1.77
|
|
|
|
Release: 511%{?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 Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4:1.77-511
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.77-510
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 4:1.77-2
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
* Mon Feb 05 2024 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.77-1
|
|
|
|
- 1.77 bump (rhbz#2262670)
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.76-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.76-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jan 05 2024 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.76-1
|
|
|
|
- 1.76 bump (rhbz#2256687)
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.75-500
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.75-499
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.75-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.75-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.75-2
|
|
|
|
- Perl 5.36 rebuild
|
|
|
|
|
|
|
|
* Sun May 22 2022 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.75-1
|
|
|
|
- 1.75 bump
|
|
|
|
- Package tests
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.74-479
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.74-478
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.74-477
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.74-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Oct 06 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.74-1
|
|
|
|
- 1.74 bump
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.73-457
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.73-456
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.73-440
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.73-439
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.73-438
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.73-418
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.73-417
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.73-416
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.73-395
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.73-394
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.73-393
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.73-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jun 01 2016 Petr Pisar <ppisar@redhat.com> - 4:1.73-1
|
|
|
|
- 1.73 bump
|
|
|
|
|
|
|
|
* Tue May 24 2016 Petr Pisar <ppisar@redhat.com> - 4:1.72-1
|
|
|
|
- 1.72 bump
|
|
|
|
|
|
|
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.71-7
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.71-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4:1.71-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 4:1.71-4
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
|
|
|
* Thu Nov 13 2014 Petr Pisar <ppisar@redhat.com> - 4:1.71-3
|
|
|
|
- Compete with perl.spec's epoch (bug #1163490)
|
|
|
|
|
|
|
|
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.71-2
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
|
|
|
* Mon Jun 23 2014 Petr Pisar <ppisar@redhat.com> - 1.71-1
|
|
|
|
- 1.71 bump
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.70-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Sep 23 2013 Petr Pisar <ppisar@redhat.com> - 1.70-1
|
|
|
|
- 1.70 bump
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.60-291
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1.60-290
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
|
|
|
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.60-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
* Mon Feb 04 2013 Petr Pisar <ppisar@redhat.com> 1.60-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|