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