|
|
|
@ -1,14 +1,17 @@
|
|
|
|
|
Name: perl-Pod-Eventual
|
|
|
|
|
Version: 0.094001
|
|
|
|
|
Release: 14%{?dist}
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Summary: Read a POD document as a series of trivial events
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Pod-Eventual
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Pod-Eventual-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Pod/Pod-Eventual-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build:
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
@ -22,11 +25,10 @@ BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
POD is a pretty simple format to write, but it can be a big pain to deal
|
|
|
|
|
with reading it and doing anything useful with it. Most existing POD
|
|
|
|
|
parsers care about semantics, like whether a =item occurred after an
|
|
|
|
|
=over but before a back, figuring out how to link a L<>, and other things
|
|
|
|
|
like that.
|
|
|
|
|
POD is a pretty simple format to write, but it can be a big pain to deal with
|
|
|
|
|
reading it and doing anything useful with it. Most existing POD parsers care
|
|
|
|
|
about semantics, like whether a =item occurred after an =over but before a
|
|
|
|
|
back, figuring out how to link a L<>, and other things like that.
|
|
|
|
|
|
|
|
|
|
Pod::Eventual is much less ambitious and much more stupid. Fortunately, stupid
|
|
|
|
|
is often better (that's what I keep telling myself, anyway).
|
|
|
|
@ -46,8 +48,8 @@ make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@ -64,6 +66,11 @@ make test
|
|
|
|
|
%{_mandir}/man3/Pod::Eventual::Simple.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Aug 24 2019 Paul Howarth <paul@city-fan.org> - 0.094001-15
|
|
|
|
|
- Spec tidy-up
|
|
|
|
|
- Use author-independent source URL
|
|
|
|
|
- Simplify find command using -delete
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.094001-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|