Author: spot
Update of /cvs/pkgs/rpms/perl-Wx/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3194
Modified Files:
perl-Wx.spec
Log Message:
fix broken requires
Index: perl-Wx.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Wx/devel/perl-Wx.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- perl-Wx.spec 28 Nov 2007 21:37:53 -0000 1.19
+++ perl-Wx.spec 30 Nov 2007 21:59:33 -0000 1.20
@@ -6,7 +6,7 @@
Name: perl-Wx
Version: 0.80
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Interface to the wxWidgets cross-platform GUI toolkit
Group: Development/Libraries
@@ -46,6 +46,13 @@
%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}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
@@ -81,6 +88,9 @@
%changelog
+* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa(a)redhat.com> - 0.80-2
+- fix bogus requires
+
* Wed Nov 28 2007 Tom "spot" Callaway <tcallawa(a)redhat.com> - 0.80-1
- bump to 0.80
Show replies by date