[perl-Locale-Maketext-Lexicon/f14/master] - Upstream update. - Replace custom filters with perl_default_filter.

corsepiu corsepiu at fedoraproject.org
Mon Jan 17 10:05:20 UTC 2011


commit d435e7db54c76062d7ed11d5af98bcbbb9d700eb
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Mon Jan 17 11:04:59 2011 +0100

    - Upstream update.
    - Replace custom filters with perl_default_filter.

 .gitignore                        |    1 +
 perl-Locale-Maketext-Lexicon.spec |   35 ++++++++---------------------------
 sources                           |    2 +-
 3 files changed, 10 insertions(+), 28 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7d97761..5c6343d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Locale-Maketext-Lexicon-0.82.tar.gz
+/Locale-Maketext-Lexicon-0.84.tar.gz
diff --git a/perl-Locale-Maketext-Lexicon.spec b/perl-Locale-Maketext-Lexicon.spec
index 49559fe..54e5b0b 100644
--- a/perl-Locale-Maketext-Lexicon.spec
+++ b/perl-Locale-Maketext-Lexicon.spec
@@ -1,6 +1,6 @@
 Name: 		perl-Locale-Maketext-Lexicon
-Version: 	0.82
-Release: 	2%{?dist}
+Version: 	0.84
+Release: 	1%{?dist}
 Summary: 	Extract translatable strings from source
 License:	MIT
 Group: 		Development/Libraries
@@ -22,6 +22,8 @@ BuildArch: noarch
 # rpm doesn't catch this
 Requires:       perl(YAML::Loader)
 
+%{?perl_default_filter}
+
 %description
 Locale::Maketext::Lexicon provides lexicon-handling backends for
 Locale::Maketext to read from other localization formats, such as PO files,
@@ -30,31 +32,6 @@ MO files, or from databases via the "Tie" interface.
 %prep
 %setup -q -n Locale-Maketext-Lexicon-%{version}
 
-cat << \EOF > %{name}-prov
-#!/bin/sh
-%{__perl_provides} $* |\
-    sed -e '/perl(My/d'
-
-EOF
-%define __perl_provides %{_builddir}/Locale-Maketext-Lexicon-%{version}/%{name}-prov
-chmod +x %{__perl_provides}
-
-# HACK: Remove bogus requires, rpm adds due to misinterpreting docs/*.hmtl
-cat << \EOF > %{name}-requ
-#!/bin/sh
-%{__perl_requires} $* |\
-    sed -e '/perl(Locale::Msgcat)/d' \
-	-e '/perl(POSIX)/d' \
-	-e '/perl(CGI)/d' \
-	-e '/perl(Lingua::EN::Numbers::Ordinate)/d' \
-	-e '/perl(Locale::gettext)/d' \
-	-e '/perl(base)/d' \
-	-e '/perl(Locale::Maketext::Lexicon)/d'
-
-EOF
-%define __perl_requires %{_builddir}/Locale-Maketext-Lexicon-%{version}/%{name}-requ
-chmod +x %{__perl_requires}
-
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -82,6 +59,10 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jan 17 2011 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.84-1
+- Upstream update.
+- Replace custom filters with perl_default_filter.
+
 * Wed Jun 23 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.82-2
 - Rebuild for perl-5.12.1.
 
diff --git a/sources b/sources
index e19cbc6..41edc6c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-738110c1e3a02d9d7e7c39e4905c2b1d  Locale-Maketext-Lexicon-0.82.tar.gz
+fe98887b9a7aea88e34bef036d81ff22  Locale-Maketext-Lexicon-0.84.tar.gz



More information about the perl-devel mailing list