SPECS: pyspacewar.spec - postclean, python epoch, BR: rpm-pythonpr...

qboosh qboosh at pld-linux.org
Fri Nov 24 15:39:19 CET 2006


Author: qboosh                       Date: Fri Nov 24 14:39:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- postclean, python epoch, BR: rpm-pythonprov
- disable psyco outside x86

---- Files affected:
SPECS:
   pyspacewar.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/pyspacewar.spec
diff -u SPECS/pyspacewar.spec:1.1 SPECS/pyspacewar.spec:1.2
--- SPECS/pyspacewar.spec:1.1	Thu Nov 16 19:18:10 2006
+++ SPECS/pyspacewar.spec	Fri Nov 24 15:39:14 2006
@@ -3,6 +3,9 @@
 # Conditional build:
 %bcond_without	psyco		# build without python-psyco
 #
+%ifnarch %{ix86}
+%undefine	with_psyco
+%endif
 Summary:	Space game with gravity
 Summary(pl):	Kosmiczna gra z grawitacją
 Name:		pyspacewar
@@ -14,9 +17,10 @@
 # Source0-md5:	e7e738bc28cb9609041cb65f731e67b2
 Source1:	%{name}.desktop
 URL:		http://mg.pov.lt/pyspacewar/
-BuildRequires:	python-devel >= 2.3
+BuildRequires:	python-devel >= 1:2.3
 %{?with_psyco:BuildRequires:	python-psyco}
 BuildRequires:	python-pygame-devel >= 1.6
+BuildRequires:	rpm-pythonprov
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -53,6 +57,8 @@
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install src/pyspacewar/images/%{name}-32x32.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
 
+%py_postclean
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -70,6 +76,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/11/24 14:39:14  qboosh
+- postclean, python epoch, BR: rpm-pythonprov
+- disable psyco outside x86
+
 Revision 1.1  2006/11/16 18:18:10  lisu
 - initial version
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pyspacewar.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list