rpms/wxPythonGTK2/devel wxPython.spec,1.7,1.8
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Wed May 11 09:32:07 UTC 2005
Author: mschwendt
Update of /cvs/extras/rpms/wxPythonGTK2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20224
Modified Files:
wxPython.spec
Log Message:
bump + minor cleanup, then rebuild for ppc, too
Index: wxPython.spec
===================================================================
RCS file: /cvs/extras/rpms/wxPythonGTK2/devel/wxPython.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- wxPython.spec 6 Apr 2005 22:13:53 -0000 1.7
+++ wxPython.spec 11 May 2005 09:32:05 -0000 1.8
@@ -1,13 +1,12 @@
-%define pyver %(python -c 'import sys ; print sys.version[:3]')
+# sitelib not sitearch, see build section
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define buildflags WXPORT=gtk2 UNICODE=1
Name: wxPythonGTK2
Version: 2.4.2.4
-Release: 5
-
+Release: 6
Summary: GUI toolkit for the Python programming language
-
Group: Development/Languages
License: LGPL
URL: http://www.wxpython.org/
@@ -17,7 +16,6 @@
BuildRequires: wxGTK2-devel >= 2.4.2, pkgconfig
BuildRequires: zlib-devel, libpng-devel, libjpeg-devel, libtiff-devel
BuildRequires: python-devel, wxGTK2-gl
-Requires: %{_bindir}/python%{pyver}
# This is what other packages should depend on, NOT the package name!
Provides: wxPython = %{version}-%{release}
@@ -57,11 +55,16 @@
%defattr(-,root,root,-)
%doc wxPython/docs wxPython/demo wxPython/licence/ wxPython/samples
%{_bindir}/*
-%{_libdir}/python%{pyver}/site-packages/wxPython
-%{_libdir}/python%{pyver}/site-packages/wx
+%{python_sitelib}/wxPython/
+%{python_sitelib}/wx/
%changelog
-* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+* Wed May 11 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 2.4.2.4-6
+- rebuilt
+- use %%python_sitelib macro
+- drop dependency on python binary, python(abi) dependency is automatic
+
+* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 2.4.2.4-5
- rebuilt
* Tue Feb 08 2005 Thorsten Leemhuis <fedora at leemhuis dot info> 0:2.4.2.4-4
More information about the scm-commits
mailing list