[perl-Module-Find] Update to 0.10

Paul Howarth pghmcfc at fedoraproject.org
Tue Mar 15 13:39:03 UTC 2011


commit 5b3029b40fdb53628add4e672efdf8eadf1081cc
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Mar 15 13:37:27 2011 +0000

    Update to 0.10
    
    - New upstream release 0.10
      - Fixed META.yml generation (CPAN RT#38302)
      - Removed Unicode BOM from Find.pm (CPAN RT#55010)
    - Generate Changes file from POD in Find.pm

 .gitignore                     |    2 +-
 perl-Module-Find-changes.patch |   17 -----------------
 perl-Module-Find.spec          |   21 ++++++++++++++-------
 sources                        |    2 +-
 4 files changed, 16 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9e010ba..c8ebb98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Module-Find-0.08.tar.gz
+/Module-Find-0.10.tar.gz
diff --git a/perl-Module-Find.spec b/perl-Module-Find.spec
index d45a9d0..8e9b5d6 100644
--- a/perl-Module-Find.spec
+++ b/perl-Module-Find.spec
@@ -1,13 +1,12 @@
 Name:           perl-Module-Find
-Version:        0.08
-Release:        5%{?dist}
+Version:        0.10
+Release:        1%{?dist}
 Summary:        Find and use installed modules in a (sub)category
 
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Module-Find/
 Source0:        http://www.cpan.org/authors/id/C/CR/CRENZ/Module-Find-%{version}.tar.gz
-Patch0:		perl-Module-Find-changes.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -18,14 +17,16 @@ Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
 
 %description
 Module::Find lets you find and use modules in categories. This can be very
-useful for auto-detecting driver or plugin modules. You can differentiate
+useful for auto-detecting driver or plug-in modules. You can differentiate
 between looking in the category itself or in all subcategories.
 
 
 %prep
 %setup -q -n Module-Find-%{version}
-%patch0 -p1
 
+# Generate Changes file from POD
+perldoc -t Find.pm |
+  %{__perl} -n -e 'if (/^HISTORY/ ... !/^[[:space:]]/) { print if /^[[:space:]]/ }' > Changes
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -37,7 +38,7 @@ 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 -empty -exec rmdir {} ';'
-%{_fixperms} $RPM_BUILD_ROOT/*
+%{_fixperms} $RPM_BUILD_ROOT
 
 
 %check
@@ -52,10 +53,16 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc Changes README examples/
 %{perl_vendorlib}/Module/
-%{_mandir}/man3/*.3pm*
+%{_mandir}/man3/Module::Find.3pm*
 
 
 %changelog
+* Tue Mar 15 2011 Paul Howarth <paul at city-fan.org> - 0.10-1
+- Update to 0.10:
+  - Fixed META.yml generation (CPAN RT#38302)
+  - Removed Unicode BOM from Find.pm (CPAN RT#55010)
+- Generate Changes file from POD in Find.pm
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.08-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 4d25aed..676eede 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6becb3eeba2da3dba180b9c90cd75e7b  Module-Find-0.08.tar.gz
+bdc4687d0782157e9335f4dc31369d01  Module-Find-0.10.tar.gz


More information about the scm-commits mailing list