|
|
838e7ab |
Name: perl-Pod-Simple
|
|
|
838e7ab |
# Epoch to compete with perl.spec
|
|
|
838e7ab |
Epoch: 1
|
|
|
001bfb3 |
Version: 3.45
|
|
|
76c3857 |
Release: 4%{?dist}
|
|
|
838e7ab |
Summary: Framework for parsing POD documentation
|
|
|
a48a01a |
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
|
|
2a4003e |
URL: https://metacpan.org/release/Pod-Simple
|
|
|
2a4003e |
Source0: https://cpan.metacpan.org/authors/id/K/KH/KHW/Pod-Simple-%{version}.tar.gz
|
|
|
838e7ab |
BuildArch: noarch
|
|
|
bf2661f |
BuildRequires: coreutils
|
|
|
9f9af33 |
BuildRequires: make
|
|
|
d042968 |
BuildRequires: perl-generators
|
|
|
a836fe9 |
BuildRequires: perl-interpreter
|
|
|
a836fe9 |
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
838e7ab |
BuildRequires: perl(strict)
|
|
|
838e7ab |
# Run-time:
|
|
|
838e7ab |
BuildRequires: perl(Carp)
|
|
|
838e7ab |
BuildRequires: perl(Config)
|
|
|
838e7ab |
BuildRequires: perl(Cwd)
|
|
|
838e7ab |
BuildRequires: perl(Encode)
|
|
|
838e7ab |
BuildRequires: perl(File::Basename)
|
|
|
838e7ab |
BuildRequires: perl(File::Spec)
|
|
|
838e7ab |
BuildRequires: perl(Getopt::Long)
|
|
|
a836fe9 |
BuildRequires: perl(if)
|
|
|
838e7ab |
BuildRequires: perl(integer)
|
|
|
838e7ab |
BuildRequires: perl(overload)
|
|
|
838e7ab |
BuildRequires: perl(Pod::Escapes) >= 1.04
|
|
|
838e7ab |
BuildRequires: perl(Symbol)
|
|
|
838e7ab |
BuildRequires: perl(Text::Wrap) >= 98.112902
|
|
|
a836fe9 |
BuildRequires: perl(warnings)
|
|
|
838e7ab |
# Tests:
|
|
|
2493421 |
BuildRequires: perl(base)
|
|
|
838e7ab |
BuildRequires: perl(Data::Dumper)
|
|
|
838e7ab |
BuildRequires: perl(File::Find)
|
|
|
8489f4b |
BuildRequires: perl(File::Path)
|
|
|
86acea0 |
BuildRequires: perl(FindBin)
|
|
|
001bfb3 |
BuildRequires: perl(parent)
|
|
|
838e7ab |
BuildRequires: perl(Test) >= 1.25
|
|
|
838e7ab |
BuildRequires: perl(Test::More)
|
|
|
a836fe9 |
BuildRequires: perl(utf8)
|
|
|
001bfb3 |
BuildRequires: perl(vars)
|
|
|
a836fe9 |
# Optional tests:
|
|
|
a836fe9 |
# Text::Diff not helpful, used only in case of a failure
|
|
|
838e7ab |
|
|
|
838e7ab |
# Filter under-specified dependencies
|
|
|
838e7ab |
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Text::Wrap\\)$
|
|
|
838e7ab |
|
|
|
7feb3cf |
# Filter modules bundled for tests
|
|
|
7feb3cf |
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}^%{_libexecdir}
|
|
|
a3dfb88 |
%global __requires_exclude %{__requires_exclude}|^perl\\(helpers\\)$
|
|
|
a3dfb88 |
|
|
|
7feb3cf |
|
|
|
838e7ab |
%description
|
|
|
a836fe9 |
Pod::Simple is a Perl library for parsing text in the POD (plain old
|
|
|
a836fe9 |
documentation) markup language that is typically used for writing
|
|
|
838e7ab |
documentation for Perl and for Perl modules.
|
|
|
838e7ab |
|
|
|
7feb3cf |
%package tests
|
|
|
7feb3cf |
Summary: Tests for %{name}
|
|
|
7feb3cf |
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
7feb3cf |
Requires: perl-Test-Harness
|
|
|
2a95dde |
Requires: perl(FindBin)
|
|
|
7feb3cf |
|
|
|
7feb3cf |
%description tests
|
|
|
7feb3cf |
Tests from %{name}. Execute them
|
|
|
7feb3cf |
with "%{_libexecdir}/%{name}/test".
|
|
|
7feb3cf |
|
|
|
838e7ab |
%prep
|
|
|
838e7ab |
%setup -q -n Pod-Simple-%{version}
|
|
|
838e7ab |
|
|
|
7feb3cf |
# Help generators to recognize Perl scripts
|
|
|
7feb3cf |
for F in t/*.t t/*.pl; do
|
|
|
7feb3cf |
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
|
|
7feb3cf |
chmod +x "$F"
|
|
|
7feb3cf |
done
|
|
|
7feb3cf |
|
|
|
838e7ab |
%build
|
|
|
a836fe9 |
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
a836fe9 |
%{make_build}
|
|
|
838e7ab |
|
|
|
838e7ab |
%install
|
|
|
a836fe9 |
%{make_install}
|
|
|
838e7ab |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
838e7ab |
|
|
|
7feb3cf |
# Install tests
|
|
|
7feb3cf |
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
|
|
7feb3cf |
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
|
|
7feb3cf |
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
|
|
7feb3cf |
#!/bin/sh
|
|
|
7feb3cf |
set -e
|
|
|
7feb3cf |
# Some tests write into temporary files/directories. The easiest solution
|
|
|
7feb3cf |
# is to copy the tests into a writable directory and execute them from there.
|
|
|
7feb3cf |
DIR=$(mktemp -d)
|
|
|
7feb3cf |
pushd "$DIR"
|
|
|
7feb3cf |
cp -a %{_libexecdir}/%{name}/* ./
|
|
|
7feb3cf |
prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
|
|
7feb3cf |
popd
|
|
|
7feb3cf |
rm -rf "$DIR"
|
|
|
7feb3cf |
EOF
|
|
|
7feb3cf |
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
|
|
7feb3cf |
|
|
|
838e7ab |
%check
|
|
|
a836fe9 |
unset PERL_CORE PERL_TEST_DIFF
|
|
|
7feb3cf |
export HARNESS_OPTIONS=j$(perl -e 'if ($ARGV[0] =~ /.*-j([0-9][0-9]*).*/) {print $1} else {print 1}' -- '%{?_smp_mflags}')
|
|
|
838e7ab |
make test
|
|
|
838e7ab |
|
|
|
838e7ab |
%files
|
|
|
838e7ab |
%doc ChangeLog README
|
|
|
838e7ab |
%{perl_vendorlib}/*
|
|
|
838e7ab |
%{_mandir}/man3/*
|
|
|
838e7ab |
|
|
|
7feb3cf |
%files tests
|
|
|
7feb3cf |
%{_libexecdir}/%{name}
|
|
|
7feb3cf |
|
|
|
838e7ab |
%changelog
|
|
|
76c3857 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.45-4
|
|
|
76c3857 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
76c3857 |
|
|
|
b5a6387 |
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.45-3
|
|
|
b5a6387 |
- Perl 5.38 rebuild
|
|
|
b5a6387 |
|
|
|
a3dfb88 |
* Tue May 16 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.45-2
|
|
|
a3dfb88 |
- Add filter for private test module perl(helpers)
|
|
|
a3dfb88 |
|
|
|
001bfb3 |
* Tue May 16 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.45-1
|
|
|
001bfb3 |
- 3.45 bump
|
|
|
001bfb3 |
|
|
|
ea4ff1a |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.43-491
|
|
|
ea4ff1a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
ea4ff1a |
|
|
|
d51982c |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.43-490
|
|
|
d51982c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
d51982c |
|
|
|
3f0d4b7 |
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.43-489
|
|
|
3f0d4b7 |
- Perl 5.36 re-rebuild of bootstrapped packages
|
|
|
3f0d4b7 |
|
|
|
4197586 |
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.43-488
|
|
|
4197586 |
- Increase release to favour standalone package
|
|
|
4197586 |
|
|
|
d044410 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.43-3
|
|
|
d044410 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
d044410 |
|
|
|
7c1bb85 |
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.43-2
|
|
|
7c1bb85 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
7c1bb85 |
|
|
|
15fa54b |
* Tue Jun 29 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.43-1
|
|
|
15fa54b |
- 3.43 bump
|
|
|
7feb3cf |
- Package tests
|
|
|
15fa54b |
|
|
|
b36359f |
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.42-478
|
|
|
b36359f |
- Perl 5.34 re-rebuild of bootstrapped packages
|
|
|
b36359f |
|
|
|
f9e4bd3 |
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.42-477
|
|
|
f9e4bd3 |
- Increase release to favour standalone package
|
|
|
f9e4bd3 |
|
|
|
1f8c194 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.42-2
|
|
|
1f8c194 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
1f8c194 |
|
|
|
bf2661f |
* Mon Nov 16 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.42-1
|
|
|
bf2661f |
- 3.42 bump
|
|
|
bf2661f |
|
|
|
9e44e3f |
* Mon Oct 12 2020 Tom Callaway <spot@fedoraproject.org> - 1:3.41-459
|
|
|
9e44e3f |
- update to 3.41
|
|
|
9e44e3f |
- I left release at the artificially high value in case it was needed
|
|
|
9e44e3f |
|
|
|
15115ac |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.40-458
|
|
|
15115ac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
15115ac |
|
|
|
5e9b60d |
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.40-457
|
|
|
5e9b60d |
- Perl 5.32 re-rebuild of bootstrapped packages
|
|
|
5e9b60d |
|
|
|
9094e3c |
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.40-456
|
|
|
9094e3c |
- Increase release to favour standalone package
|
|
|
9094e3c |
|
|
|
f824611 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.40-2
|
|
|
f824611 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f824611 |
|
|
|
1f3efa8 |
* Mon Oct 28 2019 Tom Callaway <spot@fedoraproject.org> - 1:3.40-1
|
|
|
1f3efa8 |
- update to 3.40
|
|
|
1f3efa8 |
|
|
|
3e2e889 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.39-2
|
|
|
3e2e889 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3e2e889 |
|
|
|
13bdbb3 |
* Mon Jul 01 2019 Petr Pisar <ppisar@redhat.com> - 1:3.39-1
|
|
|
13bdbb3 |
- 3.39 bump
|
|
|
13bdbb3 |
|
|
|
453726a |
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.38-2
|
|
|
453726a |
- Perl 5.30 re-rebuild of bootstrapped packages
|
|
|
453726a |
|
|
|
238e93d |
* Fri May 31 2019 Petr Pisar <ppisar@redhat.com> - 1:3.38-1
|
|
|
238e93d |
- 3.38 bump
|
|
|
238e93d |
|
|
|
e8b09c9 |
* Thu May 30 2019 Petr Pisar <ppisar@redhat.com> - 1:3.37-2
|
|
|
e8b09c9 |
- Do not package Pod::Escapes (upstream bug #102)
|
|
|
e8b09c9 |
|
|
|
6e19d85 |
* Thu May 30 2019 Tom Callaway <spot@fedoraproject.org> - 1:3.37-1
|
|
|
6e19d85 |
- update to 3.37
|
|
|
6e19d85 |
|
|
|
931f921 |
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.36-2
|
|
|
931f921 |
- Perl 5.30 rebuild
|
|
|
931f921 |
|
|
|
a836fe9 |
* Thu May 23 2019 Petr Pisar <ppisar@redhat.com> - 1:3.36-1
|
|
|
a836fe9 |
- 3.36 bump
|
|
|
a836fe9 |
|
|
|
35afbca |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.35-418
|
|
|
35afbca |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
35afbca |
|
|
|
32dbd57 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.35-417
|
|
|
32dbd57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
32dbd57 |
|
|
|
d73255d |
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.35-416
|
|
|
d73255d |
- Increase release to favour standalone package
|
|
|
d73255d |
|
|
|
05a654f |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.35-395
|
|
|
05a654f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
05a654f |
|
|
|
87db60a |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.35-394
|
|
|
87db60a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
87db60a |
|
|
|
df3b163 |
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.35-393
|
|
|
df3b163 |
- Perl 5.26 rebuild
|
|
|
df3b163 |
|
|
|
a0eec03 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.35-2
|
|
|
a0eec03 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a0eec03 |
|
|
|
14e7581 |
* Fri Dec 02 2016 Petr Pisar <ppisar@redhat.com> - 1:3.35-1
|
|
|
14e7581 |
- 3.35 bump
|
|
|
14e7581 |
|
|
|
26aac2e |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.32-365
|
|
|
26aac2e |
- Increase release to favour standalone package
|
|
|
26aac2e |
|
|
|
66bd35b |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.32-3
|
|
|
66bd35b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
66bd35b |
|
|
|
9f9af33 |
* Tue Nov 03 2015 Petr Pisar <ppisar@redhat.com> - 1:3.32-2
|
|
|
9f9af33 |
- Specify all dependencies
|
|
|
9f9af33 |
|
|
|
91562e3 |
* Tue Nov 3 2015 Tom Callaway <spot@fedoraproject.org> - 1:3.32-1
|
|
|
91562e3 |
- update to 3.32
|
|
|
91562e3 |
|
|
|
be090d1 |
* Tue Aug 25 2015 Tom Callaway <spot@fedoraproject.org> - 1:3.31-1
|
|
|
be090d1 |
- update to 3.31
|
|
|
be090d1 |
|
|
|
04dc229 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.30-3
|
|
|
04dc229 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
04dc229 |
|
|
|
692ed95 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.30-2
|
|
|
692ed95 |
- Perl 5.22 rebuild
|
|
|
692ed95 |
|
|
|
346345e |
* Tue Feb 24 2015 Petr Pisar <ppisar@redhat.com> - 1:3.30-1
|
|
|
346345e |
- 3.30 bump
|
|
|
346345e |
|
|
|
0bb10dd |
* Fri Jan 30 2015 Petr Pisar <ppisar@redhat.com> - 1:3.29-1
|
|
|
0bb10dd |
- 3.29 bump
|
|
|
0bb10dd |
|
|
|
e349da0 |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.28-310
|
|
|
e349da0 |
- Increase release to favour standalone package
|
|
|
e349da0 |
|
|
|
f8963c2 |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:3.28-294
|
|
|
f8963c2 |
- Perl 5.20 rebuild
|
|
|
f8963c2 |
|
|
|
f15bc79 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.28-293
|
|
|
f15bc79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f15bc79 |
|
|
|
b5ba96e |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:3.28-292
|
|
|
b5ba96e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
b5ba96e |
|
|
|
8489f4b |
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 1:3.28-291
|
|
|
8489f4b |
- Specify all dependencies
|
|
|
8489f4b |
|
|
|
d3581c6 |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:3.28-290
|
|
|
d3581c6 |
- Increase release to favour standalone package
|
|
|
d3581c6 |
|
|
|
7c35de6 |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:3.28-3
|
|
|
7c35de6 |
- Link minimal build-root packages against libperl.so explicitly
|
|
|
7c35de6 |
|
|
|
2493421 |
* Thu May 23 2013 Petr Pisar <ppisar@redhat.com> - 1:3.28-2
|
|
|
2493421 |
- Specify all dependencies
|
|
|
2493421 |
|
|
|
d1690ac |
* Mon May 06 2013 Petr Pisar <ppisar@redhat.com> - 1:3.28-1
|
|
|
d1690ac |
- 3.28 bump
|
|
|
d1690ac |
|
|
|
838e7ab |
* Mon Mar 18 2013 Petr Pisar <ppisar@redhat.com> 1:3.26-1
|
|
|
838e7ab |
- Specfile autogenerated by cpanspec 1.78.
|