[perl-Pod-Readme] Update to 1.0.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit a3de0878b46535e084c4f2c8367eeaf7fbea2061
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Wed Oct 15 11:19:13 2014 +0100

    Update to 1.0.2
    
    - New upstream release 1.0.2
      - This is a complete rewrite, using modern Perl with Moo
      - Added support for plugins, along with plugins to insert the module version,
        prerequisites and the latest changes
      - Added the ability to generate a README in a variety of formats, such as
        POD, Markdown, HTML, RTF, etc.
      - Added command-line options to the pod2readme script, including the ability
        to specify the output format
      - Switched to semantic versioning
      - The documentation has been updated accordingly
      - This is no longer a subclass of a POD parser, although it has some wrapper
        methods for compatibility with software known to use it
    - This release by RRWO → update source URL
    - Modernize spec since this version will never run on EL-5
    - Unbundle the Module::Install stuff and use the system version instead

 .gitignore                             |    4 +-
 Pod-Readme-v1.0.2-no-author-deps.patch |   26 ++++++
 perl-Pod-Readme.spec                   |  133 +++++++++++++++++++++++---------
 sources                                |    2 +-
 4 files changed, 125 insertions(+), 40 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 75d85ba..7f0249c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-Pod-Readme-0.09.tar.gz
-/Pod-Readme-0.11.tar.gz
+/Pod-Readme-[0-9.]*.tar.gz
+/Pod-Readme-v[0-9.]*.tar.gz
diff --git a/Pod-Readme-v1.0.2-no-author-deps.patch b/Pod-Readme-v1.0.2-no-author-deps.patch
new file mode 100644
index 0000000..0871a27
--- /dev/null
+++ b/Pod-Readme-v1.0.2-no-author-deps.patch
@@ -0,0 +1,26 @@
+--- Makefile.PL
++++ Makefile.PL
+@@ -74,23 +74,6 @@
+ 
+ install_script(qw{ bin/pod2readme });
+ 
+-author_requires(
+-    'Module::Install::AuthorRequires' => 0.02,
+-    'Module::Install::AuthorTests'    => 0,
+-    'Test::CPAN::Meta'                => 0,
+-    'Test::CheckManifest'             => 0.9,
+-    'Test::CleanNamespaces'           => 0,
+-    'Test::Command'                   => 0,
+-    'Test::ConsistentVersion'         => 0,
+-    'Test::MinimumVersion'            => 0,
+-    'Test::Perl::Critic'              => 0,
+-    'Test::Pod'                       => '1.00',
+-    'Test::Pod::Coverage'             => 0,
+-    'Test::Portability::Files'        => 0,
+-);
+-
+-recursive_author_tests('xt');
+-
+ install_as_cpan;
+ auto_install;
+ WriteAll;
diff --git a/perl-Pod-Readme.spec b/perl-Pod-Readme.spec
index ac14a2b..5bdebcf 100644
--- a/perl-Pod-Readme.spec
+++ b/perl-Pod-Readme.spec
@@ -1,59 +1,118 @@
-%define module_version 0.11
-
 Name:           perl-Pod-Readme
-Version:        0.110
-Release:        11%{?dist}
-Summary:        Convert POD to README file
+Version:        1.0.2
+Release:        1%{?dist}
+Summary:        Intelligently generate a README file from POD
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Pod-Readme/
-Source0:        http://www.cpan.org/authors/id/B/BI/BIGPRESH/Pod-Readme-%{module_version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/authors/id/R/RR/RRWO/Pod-Readme-v%{version}.tar.gz
+Patch0:         Pod-Readme-v1.0.2-no-author-deps.patch
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Regexp::Common)
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod) >= 1.00
-BuildRequires:  perl(Test::Pod::Coverage)
-BuildRequires:  perl(Test::Portability::Files)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Module Build
+BuildRequires:  perl >= 4:5.10.1
+BuildRequires:  perl(inc::Module::Install)
+# Module Runtime
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::Method::Modifiers)
+BuildRequires:  perl(CPAN::Changes) >= 0.30
+BuildRequires:  perl(CPAN::Meta)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.56
+BuildRequires:  perl(feature)
+BuildRequires:  perl(File::Slurp)
+BuildRequires:  perl(Hash::Util)
+BuildRequires:  perl(IO)
+BuildRequires:  perl(List::Util) >= 1.33
+BuildRequires:  perl(Module::CoreList)
+BuildRequires:  perl(Module::Load)
+BuildRequires:  perl(Moo) >= 1.004005
+BuildRequires:  perl(Moo::Role)
+BuildRequires:  perl(MooX::HandlesVia)
+BuildRequires:  perl(namespace::autoclean)
+BuildRequires:  perl(Path::Tiny) >= 0.018
+BuildRequires:  perl(Role::Tiny)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Try::Tiny)
+BuildRequires:  perl(Type::Tiny)
+BuildRequires:  perl(Types::Standard)
+BuildRequires:  perl(version) >= 0.77
+BuildRequires:  perl(warnings)
+# Script Runtime
+BuildRequires:  perl(File::Copy)
+BuildRequires:  perl(Getopt::Long::Descriptive)
+BuildRequires:  perl(IO::Handle)
+# Test Suite
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(File::Compare)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(IO::String)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test::Deep)
+BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::More) >= 0.88
+# Runtime
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(Role::Tiny)
 
 %description
-This module is a subclass of Pod::PlainText which provides additional POD
-markup for generating README files.
+This module filters POD to generate a README file, by using POD commands to
+specify which parts are included or excluded from the README file.
 
 %prep
-%setup -q -n Pod-Readme-%{module_version}
+%setup -q -n Pod-Readme-v%{version}
+
+# Unbundle inc::Module::Install; we'll use the system version instead
+rm -rf inc/
+perl -ni -e 'print unless /^inc\//;' MANIFEST
+
+# Avoid the need for Module::Install::AuthorRequires and
+# all of upstream's toolchain modules as a result of the unbundling
+%patch0
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install DESTDIR=$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
-DEVEL_TESTS=1 make test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes README
-%{_bindir}/*
-%{perl_vendorlib}/*
-%{_mandir}/man1/*
-%{_mandir}/man3/*
+%doc Changes README.pod
+%{_bindir}/pod2readme
+%{perl_vendorlib}/Pod/
+%{_mandir}/man1/pod2readme.1*
+%{_mandir}/man3/Pod::Readme.3*
+%{_mandir}/man3/Pod::README.3*
+%{_mandir}/man3/Pod::Readme::Filter.3*
+%{_mandir}/man3/Pod::Readme::Plugin.3*
+%{_mandir}/man3/Pod::Readme::Plugin::changes.3*
+%{_mandir}/man3/Pod::Readme::Plugin::requires.3*
+%{_mandir}/man3/Pod::Readme::Plugin::version.3*
+%{_mandir}/man3/Pod::Readme::Types.3*
 
 %changelog
+* Tue Oct 14 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.0.2-1
+- Update to 1.0.2
+  - This is a complete rewrite, using modern Perl with Moo
+  - Added support for plugins, along with plugins to insert the module version,
+    prerequisites and the latest changes
+  - Added the ability to generate a README in a variety of formats, such as
+    POD, Markdown, HTML, RTF, etc.
+  - Added command-line options to the pod2readme script, including the ability
+    to specify the output format
+  - Switched to semantic versioning
+  - The documentation has been updated accordingly
+  - This is no longer a subclass of a POD parser, although it has some wrapper
+    methods for compatibility with software known to use it
+- This release by RRWO → update source URL
+- Modernize spec since this version will never run on EL-5
+- Unbundle the Module::Install stuff and use the system version instead
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.110-11
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index f055f40..b186003 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5846d5fad616daf941862c44b3512ba7  Pod-Readme-0.11.tar.gz
+0210c4985b8760e6f9d39b229aeba756  Pod-Readme-v1.0.2.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux