27988dedb8
- Use author-independent source URL - Simplify find command using -delete
168 lines
6.0 KiB
RPMSpec
168 lines
6.0 KiB
RPMSpec
Name: perl-Pod-Eventual
|
|
Version: 0.094001
|
|
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/modules/by-module/Pod/Pod-Eventual-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
# Build:
|
|
BuildRequires: coreutils
|
|
BuildRequires: findutils
|
|
BuildRequires: make
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl-interpreter
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
# Run-time:
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(Mixin::Linewise::Readers) >= 0.102
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
# Tests:
|
|
BuildRequires: perl(Test::Deep)
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
# Explicit dependencies:
|
|
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::Eventual is much less ambitious and much more stupid. Fortunately, stupid
|
|
is often better (that's what I keep telling myself, anyway).
|
|
|
|
Pod::Eventual reads line-based input and produces events describing each POD
|
|
paragraph or directive it finds. Once complete events are immediately passed to
|
|
the handle_event method. This method should be implemented by Pod::Eventual
|
|
sub-classes. If it isn't, Pod::Eventual's own handle_event will be called, and
|
|
will raise an exception.
|
|
|
|
%prep
|
|
%setup -q -n Pod-Eventual-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=%{buildroot}
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%if 0%{?_licensedir:1}
|
|
%license LICENSE
|
|
%else
|
|
%doc LICENSE
|
|
%endif
|
|
%doc Changes README
|
|
%{perl_vendorlib}/Pod/
|
|
%{_mandir}/man3/Pod::Eventual.3*
|
|
%{_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
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.094001-13
|
|
- Perl 5.30 rebuild
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.094001-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.094001-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.094001-10
|
|
- Perl 5.28 rebuild
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.094001-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.094001-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.094001-7
|
|
- Perl 5.26 rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.094001-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.094001-5
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.094001-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.094001-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.094001-2
|
|
- Perl 5.22 rebuild
|
|
|
|
* Wed Nov 12 2014 Paul Howarth <paul@city-fan.org> - 0.094001-1
|
|
- Update to 0.094001
|
|
- Update repo and bug tracker
|
|
- Tiny documentation tweak
|
|
- Require Mixin-Linewise 0.102 to avoid busted 0.101
|
|
- Modernize spec
|
|
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.093330-16
|
|
- Perl 5.20 rebuild
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-15
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-14
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Mon Jul 22 2013 Petr Pisar <ppisar@redhat.com> - 0.093330-13
|
|
- Perl 5.18 rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-12
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Thu Oct 25 2012 Petr Pisar <ppisar@redhat.com> - 0.093330-11
|
|
- Correct dependencies
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 0.093330-9
|
|
- Perl 5.16 rebuild
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.093330-7
|
|
- Perl mass rebuild
|
|
|
|
* Wed Jul 13 2011 Iain Arnell <iarnell@gmail.com> 0.093330-6
|
|
- drop circular Pod::Coverage::TrustPod buildreq
|
|
- don't run "release" tests
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.093330-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.093330-4
|
|
- Rebuild to fix problems with vendorarch/lib (#661697)
|
|
|
|
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.093330-3
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
* Sat Feb 27 2010 Iain Arnell <iarnell@gmail.com> 0.093330-2
|
|
- BR perl(Pod::Coverage::TrustPod)
|
|
|
|
* Thu Jan 14 2010 Iain Arnell 0.093330-1
|
|
- Specfile autogenerated by cpanspec 1.78.
|