packages: pyspacewar/pyspacewar.spec - python version specific .egg.info

lisu lisu at pld-linux.org
Tue Mar 9 11:07:16 CET 2010


Author: lisu                         Date: Tue Mar  9 10:07:17 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- python version specific .egg.info

---- Files affected:
packages/pyspacewar:
   pyspacewar.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: packages/pyspacewar/pyspacewar.spec
diff -u packages/pyspacewar/pyspacewar.spec:1.11 packages/pyspacewar/pyspacewar.spec:1.12
--- packages/pyspacewar/pyspacewar.spec:1.11	Tue Mar  9 11:03:44 2010
+++ packages/pyspacewar/pyspacewar.spec	Tue Mar  9 11:07:08 2010
@@ -17,7 +17,7 @@
 # Source0-md5:	164128ba8a84415748ce4fbc3c2c5647
 Source1:	%{name}.desktop
 URL:		http://mg.pov.lt/pyspacewar/
-BuildRequires:	python-devel >= 1:2.5
+BuildRequires:	python-devel
 BuildRequires:	python-pygame-devel >= 1.6
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
@@ -80,7 +80,9 @@
 %{py_sitescriptdir}/%{name}/music
 %dir %{py_sitescriptdir}/%{name}/sounds
 %{py_sitescriptdir}/%{name}/sounds
+%if "%{py_ver}" > "2.4"
 %{py_sitescriptdir}/*.egg-info
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -88,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2010/03/09 10:07:08  lisu
+- python version specific .egg.info
+
 Revision 1.11  2010/03/09 10:03:44  lisu
 - up to 0.9.7
 - build noarch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pyspacewar/pyspacewar.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list