SPECS: pyspacewar.spec - python-devel >= 1:2.5 (for .egg-info) - add BR: rp...

lisu lisu at pld-linux.org
Mon Feb 16 14:40:39 CET 2009


Author: lisu                         Date: Mon Feb 16 13:40:39 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- python-devel >= 1:2.5 (for .egg-info)
- add BR: rpmbuild(macros) >= 1.219 (for %%py_postclean macro)
- move python-psyco to requires
- more verbose files

---- Files affected:
SPECS:
   pyspacewar.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/pyspacewar.spec
diff -u SPECS/pyspacewar.spec:1.8 SPECS/pyspacewar.spec:1.9
--- SPECS/pyspacewar.spec:1.8	Wed Jul 18 01:22:30 2007
+++ SPECS/pyspacewar.spec	Mon Feb 16 14:40:33 2009
@@ -17,10 +17,11 @@
 # Source0-md5:	d9515eb2584efd9fa43f6fa49b9761b2
 Source1:	%{name}.desktop
 URL:		http://mg.pov.lt/pyspacewar/
-BuildRequires:	python-devel >= 1:2.4
-%{?with_psyco:BuildRequires:	python-psyco}
+BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	python-pygame-devel >= 1.6
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+%{?with_psyco:Requires:	python-psyco}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -49,7 +50,7 @@
 
 %{__python} setup.py install \
 	--optimize=2 \
-	--root=$RPM_BUILD_ROOT 
+	--root=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install src/pyspacewar/images/%{name}-32x32.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
@@ -65,7 +66,9 @@
 %attr(755,root,root) %{_bindir}/*
 %{_desktopdir}/%{name}.desktop
 %{_pixmapsdir}/%{name}.png
-%{py_sitescriptdir}/*
+%{py_sitescriptdir}/%{name}/*.py[co]
+%{py_sitescriptdir}/%{name}/images/*
+%{py_sitescriptdir}/*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -73,6 +76,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2009/02/16 13:40:33  lisu
+- python-devel >= 1:2.5 (for .egg-info)
+- add BR: rpmbuild(macros) >= 1.219 (for %%py_postclean macro)
+- move python-psyco to requires
+- more verbose files
+
 Revision 1.8  2007/07/17 23:22:30  lisu
 - removed useless options from install
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pyspacewar.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list