Compare commits

..

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

2
.gitignore vendored

@ -1 +1 @@
SOURCES/Pod-Checker-1.74.tar.gz SOURCES/Pod-Checker-1.77.tar.gz

@ -1 +1 @@
23f7dad1c50f2182643f5bc97696f085baef208a SOURCES/Pod-Checker-1.74.tar.gz e772e4776848801584fdba8e5ec298c8bd18f453 SOURCES/Pod-Checker-1.77.tar.gz

@ -1,10 +1,10 @@
Name: perl-Pod-Checker Name: perl-Pod-Checker
# Compete with perl.spec # Compete with perl.spec
Epoch: 4 Epoch: 4
Version: 1.74 Version: 1.77
Release: 4%{?dist} Release: 511%{?dist}
Summary: Check POD documents for syntax errors Summary: Check POD documents for syntax errors
License: GPL+ or Artistic License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/Pod-Checker URL: https://metacpan.org/release/Pod-Checker
Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Checker-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/M/MA/MAREKR/Pod-Checker-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
@ -18,7 +18,6 @@ BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Basename) BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Spec) BuildRequires: perl(File::Spec)
BuildRequires: sed
# Run-time: # Run-time:
BuildRequires: perl(base) BuildRequires: perl(base)
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
@ -34,44 +33,126 @@ BuildRequires: perl(FileHandle)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(vars) BuildRequires: perl(vars)
# VMS::Filespec not used # VMS::Filespec not used
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Pod::Simple) >= 3.28 Requires: perl(Pod::Simple) >= 3.28
%description %description
Module and tools to verify POD documentation contents for compliance with the Module and tools to verify POD documentation contents for compliance with the
Plain Old Documentation format specifications. 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 %prep
%setup -q -n Pod-Checker-%{version} %setup -q -n Pod-Checker-%{version}
for F in CHANGES README; do for F in CHANGES README; do
sed -i -e 's/\r//' "$F" 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 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/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 %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 README %doc CHANGES README
%{_bindir}/* %{_bindir}/podchecker
%{perl_vendorlib}/* %{perl_vendorlib}/Pod*
%{_mandir}/man1/* %{_mandir}/man1/podchecker*
%{_mandir}/man3/* %{_mandir}/man3/Pod::Checker*
%files tests
%{_libexecdir}/%{name}
%changelog %changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 4:1.74-4 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 4:1.77-511
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Bump release for October 2024 mass rebuild:
Related: rhbz#1991688 Resolves: RHEL-64018
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 4:1.77-510
- Rebuilt for MSVSphere 10
* 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
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4:1.74-3 * Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.76-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 - 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 * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4:1.74-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save