[perl-Pod-Coverage] 0.22 bump

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

 



commit dd63f3386b6d371495059860d3c6396a52d12c59
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Wed Feb 8 13:42:19 2012 +0100

    0.22 bump

 .gitignore             |    1 +
 perl-Pod-Coverage.spec |   48 ++++++++++++++++++++++++++++++------------------
 sources                |    2 +-
 3 files changed, 32 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b21c71a..d16730b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Pod-Coverage-0.20.tar.gz
 /Pod-Coverage-0.21.tar.gz
+/Pod-Coverage-0.22.tar.gz
diff --git a/perl-Pod-Coverage.spec b/perl-Pod-Coverage.spec
index 7aa6126..f10d9a8 100644
--- a/perl-Pod-Coverage.spec
+++ b/perl-Pod-Coverage.spec
@@ -1,19 +1,32 @@
 Name:           perl-Pod-Coverage
-Version:        0.21
-Release:        5%{?dist}
+Version:        0.22
+Release:        1%{?dist}
 Summary:        Checks if the documentation of a module is comprehensive
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Pod-Coverage/
 Source0:        http://www.cpan.org/authors/id/R/RC/RCLAMP/Pod-Coverage-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
+BuildRequires:  perl(base)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Devel::Symdump) >= 2.01
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Pod::Find) >= 0.21
+BuildRequires:  perl(Pod::Parser) >= 1.13
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
+Requires:       perl(Devel::Symdump) >= 2.01
+Requires:       perl(Pod::Find) >= 0.21
+Requires:       perl(Pod::Parser) >= 1.13
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+%{?perl_default_filter}
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Devel::Symdump\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Find\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Pod::Parser\\)$
+
 %description
 Developers hate writing documentation.  They'd hate it even more if their
 computer tattled on them, but maybe they'll be even more thankful in the
@@ -26,26 +39,20 @@ module is comprehensive.
 %setup -q -n Pod-Coverage-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
-%{_fixperms} $RPM_BUILD_ROOT/*
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/*
 
 %check
-./Build test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make test
 
 %files
-%defattr(-,root,root,-)
-%doc Changes examples/
+%doc Changes examples
 %{_bindir}/pod_cover
 %{perl_vendorlib}/Pod/
 %{_mandir}/man3/Pod::Coverage.3pm*
@@ -54,6 +61,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/Pod::Coverage::Overloader.3pm*
 
 %changelog
+* Wed Feb 08 2012 Petr Šabata <contyk@xxxxxxxxxx> - 0.22-1
+- 0.22 bump
+- Switch to EE::MM
+- Modernize spec
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.21-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 4ecafa5..a4f6e81 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3d8acba0817cc01b03d63bb05e4cef52  Pod-Coverage-0.21.tar.gz
+6cf04053968db85c355a740ab170aaf5  Pod-Coverage-0.22.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