From 39ea05c3700a652935e5283d0badb09cf66a6ac8 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Wed, 12 Nov 2014 16:11:45 +0000 Subject: [PATCH] Update to 0.094001 - New upstream release 0.094001 - Update repo and bug tracker - Tiny documentation tweak - Require Mixin-Linewise 0.102 to avoid busted 0.101 - Modernize spec --- .gitignore | 2 +- perl-Pod-Eventual.spec | 70 ++++++++++++++++++++---------------------- sources | 2 +- 3 files changed, 36 insertions(+), 38 deletions(-) diff --git a/.gitignore b/.gitignore index 69ed691..a1f3e5f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Pod-Eventual-0.093330.tar.gz +/Pod-Eventual-[0-9.]*.tar.gz diff --git a/perl-Pod-Eventual.spec b/perl-Pod-Eventual.spec index 279ddf6..0a52c1d 100644 --- a/perl-Pod-Eventual.spec +++ b/perl-Pod-Eventual.spec @@ -1,30 +1,24 @@ Name: perl-Pod-Eventual -Version: 0.093330 -Release: 16%{?dist} +Version: 0.094001 +Release: 1%{?dist} Summary: Read a POD document as a series of trivial events License: GPL+ or Artistic -Group: Development/Libraries URL: http://search.cpan.org/dist/Pod-Eventual/ -Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Pod-Eventual-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Pod-Eventual-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) +# Build: +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 # Run-time: BuildRequires: perl(Carp) -BuildRequires: perl(Mixin::Linewise::Readers) >= 0.001 +BuildRequires: perl(Mixin::Linewise::Readers) >= 0.102 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) # Tests: BuildRequires: perl(Test::Deep) -BuildRequires: perl(Test::More) -# Optional tests: -# not executed -#BuildRequires: perl(Test::Pod) -#BuildRequires: perl(Test::Pod::Coverage) -# causes circular builddeps -#BuildRequires: perl(Pod::Coverage::TrustPod) - -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) - -%{?perl_default_filter} +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 @@ -34,7 +28,7 @@ parsers care about semantics, like whether a =item occurred after an 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.) +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 @@ -46,32 +40,36 @@ will raise an exception. %setup -q -n Pod-Eventual-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +%{_fixperms} %{buildroot} %check make test -%clean -rm -rf $RPM_BUILD_ROOT - %files -%defattr(-,root,root,-) -%doc Changes LICENSE META.json README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%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 +* Wed Nov 12 2014 Paul Howarth - 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 - 0.093330-16 - Perl 5.20 rebuild @@ -110,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Dec 21 2010 Marcela Maslanova - 0.093330-4 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Tue May 04 2010 Marcela Maslanova - 0.093330-3 - Mass rebuild with perl-5.12.0 diff --git a/sources b/sources index 4100cda..0b46ca4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -38124f3c1dd8b53a122d8336dec89453 Pod-Eventual-0.093330.tar.gz +627de0dc05c84f147643d51dc132015a Pod-Eventual-0.094001.tar.gz