Compare commits

..

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

2
.gitignore vendored

@ -1 +1 @@
SOURCES/podlators-4.14.tar.gz
SOURCES/podlators-5.01.tar.gz

@ -1 +1 @@
d018dd65ec935da3978a4be67020d1a3654b485f SOURCES/podlators-4.14.tar.gz
837a928bda19426d90aa6d58d2de1810c57fa0ca SOURCES/podlators-5.01.tar.gz

@ -1,10 +1,10 @@
Name: perl-podlators
Epoch: 1
Version: 4.14
Release: 460%{?dist}
Version: 5.01
Release: 511%{?dist}
Summary: Format POD source into various output formats
# pod/perlpodstyle.pod: FSFAP
# other files: GPL+ or Artistic
# other files: GPL-1.0-or-later OR Artistic-1.0-Perl
## Not in the binary package
# t/data/basic.cap: FSFAP
# t/data/basic.clr: FSFAP
@ -12,6 +12,7 @@ Summary: Format POD source into various output formats
# t/data/basic.ovr: FSFAP
# t/data/basic.pod: FSFAP
# t/data/basic.txt: FSFAP
# t/data/man/*: FSFAP
# t/data/snippets/man/uppercase-license: MIT
# t/data/snippets/README: FSFAP
# t/docs/pod.t: MIT
@ -25,14 +26,15 @@ Summary: Format POD source into various output formats
# t/style/minimum-version.t: MIT
# t/style/module-version.t: MIT
# t/style/strict.t: MIT
License: (GPL+ or Artistic) and FSFAP
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND FSFAP
URL: https://metacpan.org/release/podlators
Source0: https://cpan.metacpan.org/authors/id/R/RR/RRA/podlators-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(:VERSION) >= 5.8
BuildRequires: perl(:VERSION) >= 5.10
BuildRequires: perl(Config)
# Cwd run by PL script in scripts directory
BuildRequires: perl(Cwd)
@ -48,13 +50,11 @@ BuildRequires: perl(Carp)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
# Getopt::Long not used at tests
BuildRequires: perl(Pod::Simple) >= 3.06
BuildRequires: perl(Pod::Simple) >= 3.26
# Pod::Usage not used at tests
BuildRequires: perl(POSIX)
BuildRequires: perl(subs)
BuildRequires: perl(Term::ANSIColor)
BuildRequires: perl(Term::Cap)
BuildRequires: perl(vars)
# Tests:
BuildRequires: perl(base)
BuildRequires: perl(File::Find)
@ -68,27 +68,41 @@ BuildRequires: perl(Test::More)
# Perl::Critic::Utils not used
# Perl6::Slurp not used
BuildRequires: perl(PerlIO::encoding)
# Test::CPAN::Changes not used
# Test::MinimumVersion not used
# Test::Pod not used
# Test::Spelling not used
# Test::Strict not used
# Test::Synopsis not used
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(File::Basename)
# File::Spec version declared in lib/Pod/Man.pm comment
Requires: perl(File::Spec) >= 0.8
Requires: perl(Pod::Simple) >= 3.06
Requires: perl(Pod::Simple) >= 3.26
Conflicts: perl < 4:5.16.1-234
# Filter under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Simple\\)$
# Filter modules bundled for tests
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
%global __requires_exclude %{__requires_exclude}|^perl\\(Test::Podlators\\)
%global __requires_exclude %{__requires_exclude}|^perl\\(Test::RRA.*\\)
%description
This package contains Pod::Man and Pod::Text modules which convert POD input
to *roff source output, suitable for man pages, or plain text. It also
includes several sub-classes of Pod::Text for formatted output to terminals
with various capabilities.
%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 podlators-%{version}
@ -100,25 +114,85 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_install}
%{_fixperms} $RPM_BUILD_ROOT/*
# Install tests
mkdir -p %{buildroot}%{_libexecdir}/%{name}
cp -a t %{buildroot}%{_libexecdir}/%{name}
for F in `find %{buildroot}%{_libexecdir}/%{name} -name *.t -o -name *.pm`; do
perl -i -pe "s{'t', 'tmp'}{'/tmp'}" $F
done
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
#!/bin/sh
unset AUTHOR_TESTING AUTOMATED_TESTING RELEASE_TESTING
cd %{_libexecdir}/%{name} && exec prove -I . -r -j "$(getconf _NPROCESSORS_ONLN)"
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}')
unset AUTHOR_TESTING AUTOMATED_TESTING RELEASE_TESTING
make test
%files
%license LICENSE
%doc Changes NOTES README THANKS TODO
%doc Changes README THANKS TODO
%{_bindir}/*
%{perl_vendorlib}/*
%{_mandir}/man1/*
%{_mandir}/man3/*
%files tests
%{_libexecdir}/%{name}
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.14-460
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:5.01-511
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1:5.01-510
- Rebuilt for MSVSphere 10
* Thu Jul 18 2024 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.01-510
- Increase release to favour standalone package
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:5.01-503
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.01-502
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.01-501
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.14-459
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.01-500
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.01-499
- Increase release to favour standalone package
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.01-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Jan 02 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.01-1
- 5.01 bump
* Mon Nov 28 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.00-1
- 5.00 bump
- Package tests
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.14-489
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.14-488
- Increase release to favour standalone package
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.14-479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.14-478
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:4.14-477
- Increase release to favour standalone package
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.14-458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save