rpms/perl-Locale-Maketext-Lexicon/F-8 perl-Locale-Maketext-Lexicon.spec, 1.15, 1.16

Ralf Corsépius corsepiu at fedoraproject.org
Thu Aug 28 09:50:25 UTC 2008


Author: corsepiu

Update of /cvs/pkgs/rpms/perl-Locale-Maketext-Lexicon/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv27061/F-8

Modified Files:
	perl-Locale-Maketext-Lexicon.spec 
Log Message:
* Thu Aug 28 2008 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.68-2
- Filter out bogus requires.



Index: perl-Locale-Maketext-Lexicon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Locale-Maketext-Lexicon/F-8/perl-Locale-Maketext-Lexicon.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- perl-Locale-Maketext-Lexicon.spec	26 Aug 2008 02:58:17 -0000	1.15
+++ perl-Locale-Maketext-Lexicon.spec	28 Aug 2008 09:49:55 -0000	1.16
@@ -1,6 +1,6 @@
 Name: 		perl-Locale-Maketext-Lexicon
 Version: 	0.68
-Release: 	1%{?dist}
+Release: 	2%{?dist}
 Summary: 	Extract translatable strings from source
 License:	MIT
 Group: 		Development/Libraries
@@ -36,6 +36,22 @@
 %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}
@@ -63,6 +79,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Thu Aug 28 2008 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.68-2
+- Filter out bogus requires.
+
 * Tue Aug 26 2008 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.68-1
 - Upstream update.
 - Reflect new Source0-URL.




More information about the Fedora-perl-devel-list mailing list