[perl-Text-Glob/f13/master] Upstream update. Spec cleanup.

corsepiu corsepiu at fedoraproject.org
Wed Mar 2 17:22:04 UTC 2011


commit 2a69d87365fc9b61ff50e4324ea074a6319e284b
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Wed Mar 2 18:19:15 2011 +0100

    Upstream update.
    Spec cleanup.

 .gitignore          |    1 +
 perl-Text-Glob.spec |   17 ++++++++---------
 sources             |    2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 804af31..cdf9c67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Text-Glob-0.08.tar.gz
+/Text-Glob-0.09.tar.gz
diff --git a/perl-Text-Glob.spec b/perl-Text-Glob.spec
index 813fcd3..3e35d1f 100644
--- a/perl-Text-Glob.spec
+++ b/perl-Text-Glob.spec
@@ -1,12 +1,11 @@
 Name: 		perl-Text-Glob
-Version: 	0.08
-Release: 	7%{?dist}
+Version: 	0.09
+Release: 	1%{?dist}
 Summary: 	Perl module to match globbing patterns against text
 License: 	GPL+ or Artistic
 Group: 		Development/Libraries
 URL: 		http://search.cpan.org/dist/Text-Glob/
-Source0: 	http://www.cpan.org/modules/by-module/Text/Text-Glob-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: 	http://www.cpan.org/authors/id/R/RC/RCLAMP/Text-Glob-%{version}.tar.gz
 
 BuildArch: noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -26,15 +25,11 @@ want to do full file globbing use the File::Glob module instead.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install PERL_INSTALL_ROOT=$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 -type d -depth -exec rmdir {} 2>/dev/null ';'
 chmod -R u+w $RPM_BUILD_ROOT/*
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %check
 make test
 
@@ -45,6 +40,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Mar 02 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.09-1
+- Upstream update.
+- Spec cleanup.
+
 * Fri Dec  4 2009 Stepan Kasal <skasal at redhat.com> - 0.08-7
 - rebuild against perl 5.10.1
 
diff --git a/sources b/sources
index 5ebf17b..d0ce9b8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-39a1a3e890cd5d3f51a707579098bc1c  Text-Glob-0.08.tar.gz
+1daa10e087f891c49b720a5c551a024b  Text-Glob-0.09.tar.gz



More information about the perl-devel mailing list