rpms/perl-Locale-Maketext-Lexicon/devel perl-Locale-Maketext-Lexicon.spec, 1.17, 1.18

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

 



Author: corsepiu

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

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



Index: perl-Locale-Maketext-Lexicon.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Locale-Maketext-Lexicon/devel/perl-Locale-Maketext-Lexicon.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- perl-Locale-Maketext-Lexicon.spec	26 Aug 2008 02:58:16 -0000	1.17
+++ perl-Locale-Maketext-Lexicon.spec	28 Aug 2008 09:49:54 -0000	1.18
@@ -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@xxxxxxxxxxxxxxxxx> - 0.68-2
+- Filter out bogus requires.
+
 * Tue Aug 26 2008 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 0.68-1
 - Upstream update.
 - Reflect new Source0-URL.

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[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