commit c7f98cf6474c0295243ce5809799a42eadb8fd84 Author: Tom "spot" Callaway <tcallawa@xxxxxxxxxx> Date: Thu Jan 27 10:15:10 2011 -0500 fix filtering perl-Wx.spec | 32 +++++++++++++++----------------- 1 files changed, 15 insertions(+), 17 deletions(-) --- diff --git a/perl-Wx.spec b/perl-Wx.spec index 43ba72e..131c93f 100644 --- a/perl-Wx.spec +++ b/perl-Wx.spec @@ -6,7 +6,7 @@ Name: perl-Wx Version: 0.98 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Interface to the wxWidgets cross-platform GUI toolkit Group: Development/Libraries @@ -42,22 +42,17 @@ chmod -c a-x README.txt docs/todo.txt samples/*/*.pl find . -type f -name "*.pm" -o -name "*.h" -o -name "*.cpp" | xargs chmod -c a-x - -# Provides: exclude perl(Wx) -cat <<__EOF__ > %{name}-perl.prov -#!/bin/sh -/usr/lib/rpm/perl.prov \$* | grep -v '^perl(Wx)$' | grep -v '^perl(MY)$' | grep -v '^perl(Parse::Yapp::Driver)' -__EOF__ -%define __perl_provides %{_builddir}/Wx-%{version}/%{name}-perl.prov -chmod +x %{__perl_provides} - -# Requires: exclude unversioned perl(Wx::Wx_Exp) -cat <<__EOF__ > %{name}-perl.req -#!/bin/sh -/usr/lib/rpm/perl.req \$* | grep -v '^perl(Wx::Wx_Exp)$' -__EOF__ -%define __perl_requires %{_builddir}/Wx-%{version}/%{name}-perl.req -chmod +x %{__perl_requires} +%filter_provides_in %{perl_vendorarch}/.*\\.so$ +%filter_provides_in -P %{perl_archlib}/(?!CORE/libperl).*\\.so$ +%filter_from_provides /perl(UNIVERSAL)/d; /perl(DB)/d +%filter_from_provides /perl(Wx)$/d +%filter_from_provides /perl(MY)$/d +%filter_from_provides /perl(Parse::Yapp::Driver)/d +%filter_from_requires /perl(Wx::PlValidator)/d +%filter_from_requires /perl(Wx::Wx_Exp)$/d +%filter_provides_in %{_docdir} +%filter_requires_in %{_docdir} +%filter_setup %build %{__perl} Makefile.PL --wx-unicode \ @@ -97,6 +92,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jan 27 2011 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 0.98-2 +- update filtering macros, filter out requires on Wx::PlValidator + * Wed Jan 26 2011 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 0.98-1 - update to 0.98 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel