SPECS: python-wxPython.spec - rel 3; provide simple and stupid wxv...

arekm arekm at pld-linux.org
Sat Dec 24 23:11:36 CET 2005


Author: arekm                        Date: Sat Dec 24 22:11:36 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 3; provide simple and stupid wxversion.py that always returns that everything is ok (wxversion.py is a script used in multiversion installations of wxPython; unfortunatel some programs like SPE use it unconditionally even of singleversion installations)

---- Files affected:
SPECS:
   python-wxPython.spec (1.48 -> 1.49) 

---- Diffs:

================================================================
Index: SPECS/python-wxPython.spec
diff -u SPECS/python-wxPython.spec:1.48 SPECS/python-wxPython.spec:1.49
--- SPECS/python-wxPython.spec:1.48	Mon Sep 19 12:52:00 2005
+++ SPECS/python-wxPython.spec	Sat Dec 24 23:11:31 2005
@@ -4,11 +4,12 @@
 Summary(pl):	Wieloplatformowe narzędzie GUI dla Pythona
 Name:		python-%{module}
 Version:	2.6.1.0
-Release:	2
+Release:	3
 License:	wxWindows Library v. 3 (LGPL derivative)
 Group:		Libraries/Python
 Source0:	http://dl.sourceforge.net/wxpython/%{module}-src-%{version}.tar.gz
 # Source0-md5:	3408f80ef091cfb8a46be4ed70fb0475
+Source1:	%{name}-wxversion-null.py
 Patch0:		%{name}-CFLAGS.patch
 URL:		http://wxpython.org/
 BuildRequires:	gtk+2-devel
@@ -68,11 +69,16 @@
 	--optimize 2 \
 	--root=$RPM_BUILD_ROOT
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{py_sitedir}/wxversion.py
+
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a demo samples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 rm -f $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/samples/embedded/embedded
 rm -f $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/samples/embedded/embedded.o
 
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -83,6 +89,9 @@
 #don't remove this files, because this is licensing information
 %doc docs/{licence.txt,licendoc.txt,preamble.txt}
 %attr(755,root,root) %{_bindir}/*
+
+%{py_sitedir}/wxversion.py[co]
+
 %dir %{py_sitedir}/%{module}
 %{py_sitedir}/%{module}/*.py[co]
 %dir %{py_sitedir}/%{module}/lib
@@ -136,6 +145,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.49  2005/12/24 22:11:31  arekm
+- rel 3; provide simple and stupid wxversion.py that always returns that everything is ok (wxversion.py is a script used in multiversion installations of wxPython; unfortunatel some programs like SPE use it unconditionally even of singleversion installations)
+
 Revision 1.48  2005/09/19 10:52:00  heretyk
 - removed precompiled binaries from samples install (fixes build on non-intel
   archs)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-wxPython.spec?r1=1.48&r2=1.49&f=u



More information about the pld-cvs-commit mailing list