|
|
@ -1,10 +1,10 @@
|
|
|
|
Name: perl-podlators
|
|
|
|
Name: perl-podlators
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 5.01
|
|
|
|
Version: 4.14
|
|
|
|
Release: 511%{?dist}
|
|
|
|
Release: 460%{?dist}
|
|
|
|
Summary: Format POD source into various output formats
|
|
|
|
Summary: Format POD source into various output formats
|
|
|
|
# pod/perlpodstyle.pod: FSFAP
|
|
|
|
# pod/perlpodstyle.pod: FSFAP
|
|
|
|
# other files: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
|
# other files: GPL+ or Artistic
|
|
|
|
## Not in the binary package
|
|
|
|
## Not in the binary package
|
|
|
|
# t/data/basic.cap: FSFAP
|
|
|
|
# t/data/basic.cap: FSFAP
|
|
|
|
# t/data/basic.clr: FSFAP
|
|
|
|
# t/data/basic.clr: FSFAP
|
|
|
@ -12,7 +12,6 @@ Summary: Format POD source into various output formats
|
|
|
|
# t/data/basic.ovr: FSFAP
|
|
|
|
# t/data/basic.ovr: FSFAP
|
|
|
|
# t/data/basic.pod: FSFAP
|
|
|
|
# t/data/basic.pod: FSFAP
|
|
|
|
# t/data/basic.txt: FSFAP
|
|
|
|
# t/data/basic.txt: FSFAP
|
|
|
|
# t/data/man/*: FSFAP
|
|
|
|
|
|
|
|
# t/data/snippets/man/uppercase-license: MIT
|
|
|
|
# t/data/snippets/man/uppercase-license: MIT
|
|
|
|
# t/data/snippets/README: FSFAP
|
|
|
|
# t/data/snippets/README: FSFAP
|
|
|
|
# t/docs/pod.t: MIT
|
|
|
|
# t/docs/pod.t: MIT
|
|
|
@ -26,15 +25,14 @@ Summary: Format POD source into various output formats
|
|
|
|
# t/style/minimum-version.t: MIT
|
|
|
|
# t/style/minimum-version.t: MIT
|
|
|
|
# t/style/module-version.t: MIT
|
|
|
|
# t/style/module-version.t: MIT
|
|
|
|
# t/style/strict.t: MIT
|
|
|
|
# t/style/strict.t: MIT
|
|
|
|
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND FSFAP
|
|
|
|
License: (GPL+ or Artistic) and FSFAP
|
|
|
|
URL: https://metacpan.org/release/podlators
|
|
|
|
URL: https://metacpan.org/release/podlators
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RR/RRA/podlators-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RR/RRA/podlators-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.10
|
|
|
|
BuildRequires: perl(:VERSION) >= 5.8
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
# Cwd run by PL script in scripts directory
|
|
|
|
# Cwd run by PL script in scripts directory
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
@ -50,11 +48,13 @@ BuildRequires: perl(Carp)
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
BuildRequires: perl(Encode)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
# Getopt::Long not used at tests
|
|
|
|
# Getopt::Long not used at tests
|
|
|
|
BuildRequires: perl(Pod::Simple) >= 3.26
|
|
|
|
BuildRequires: perl(Pod::Simple) >= 3.06
|
|
|
|
# Pod::Usage not used at tests
|
|
|
|
# Pod::Usage not used at tests
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
BuildRequires: perl(POSIX)
|
|
|
|
|
|
|
|
BuildRequires: perl(subs)
|
|
|
|
BuildRequires: perl(Term::ANSIColor)
|
|
|
|
BuildRequires: perl(Term::ANSIColor)
|
|
|
|
BuildRequires: perl(Term::Cap)
|
|
|
|
BuildRequires: perl(Term::Cap)
|
|
|
|
|
|
|
|
BuildRequires: perl(vars)
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
@ -68,41 +68,27 @@ BuildRequires: perl(Test::More)
|
|
|
|
# Perl::Critic::Utils not used
|
|
|
|
# Perl::Critic::Utils not used
|
|
|
|
# Perl6::Slurp not used
|
|
|
|
# Perl6::Slurp not used
|
|
|
|
BuildRequires: perl(PerlIO::encoding)
|
|
|
|
BuildRequires: perl(PerlIO::encoding)
|
|
|
|
# Test::CPAN::Changes not used
|
|
|
|
|
|
|
|
# Test::MinimumVersion not used
|
|
|
|
# Test::MinimumVersion not used
|
|
|
|
# Test::Pod not used
|
|
|
|
# Test::Pod not used
|
|
|
|
# Test::Spelling not used
|
|
|
|
# Test::Spelling not used
|
|
|
|
# Test::Strict not used
|
|
|
|
# Test::Strict not used
|
|
|
|
# Test::Synopsis not used
|
|
|
|
# Test::Synopsis not used
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(File::Basename)
|
|
|
|
Requires: perl(File::Basename)
|
|
|
|
# File::Spec version declared in lib/Pod/Man.pm comment
|
|
|
|
# File::Spec version declared in lib/Pod/Man.pm comment
|
|
|
|
Requires: perl(File::Spec) >= 0.8
|
|
|
|
Requires: perl(File::Spec) >= 0.8
|
|
|
|
Requires: perl(Pod::Simple) >= 3.26
|
|
|
|
Requires: perl(Pod::Simple) >= 3.06
|
|
|
|
Conflicts: perl < 4:5.16.1-234
|
|
|
|
Conflicts: perl < 4:5.16.1-234
|
|
|
|
|
|
|
|
|
|
|
|
# Filter under-specified dependencies
|
|
|
|
# Filter under-specified dependencies
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Simple\\)$
|
|
|
|
%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
|
|
|
|
%description
|
|
|
|
This package contains Pod::Man and Pod::Text modules which convert POD input
|
|
|
|
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
|
|
|
|
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
|
|
|
|
includes several sub-classes of Pod::Text for formatted output to terminals
|
|
|
|
with various capabilities.
|
|
|
|
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
|
|
|
|
%prep
|
|
|
|
%setup -q -n podlators-%{version}
|
|
|
|
%setup -q -n podlators-%{version}
|
|
|
|
|
|
|
|
|
|
|
@ -114,85 +100,25 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
%{make_install}
|
|
|
|
%{make_install}
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_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
|
|
|
|
%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
|
|
|
|
unset AUTHOR_TESTING AUTOMATED_TESTING RELEASE_TESTING
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc Changes README THANKS TODO
|
|
|
|
%doc Changes NOTES README THANKS TODO
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
|
|
|
%{_libexecdir}/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:5.01-511
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.14-460
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* 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 Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:5.01-500
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.14-459
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.14-458
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|