SPECS: python-GooeyPy.spec - python version from rpm macros - some...
cactus
cactus at pld-linux.org
Sun May 27 17:45:35 CEST 2007
Author: cactus Date: Sun May 27 15:45:35 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- python version from rpm macros
- some clean ups
---- Files affected:
SPECS:
python-GooeyPy.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/python-GooeyPy.spec
diff -u SPECS/python-GooeyPy.spec:1.4 SPECS/python-GooeyPy.spec:1.5
--- SPECS/python-GooeyPy.spec:1.4 Sun May 27 15:01:38 2007
+++ SPECS/python-GooeyPy.spec Sun May 27 17:45:30 2007
@@ -4,7 +4,6 @@
# - Remove Cellulose to different spec
#
%define module GooeyPy
-%define python_version py2.4
Summary: Python/GooeyPy package
Summary(pl.UTF-8): Pakiet Python/GooeyPy
@@ -58,16 +57,14 @@
--optimize=2
# Cellulose
-unzip -d $RPM_BUILD_ROOT%{py_sitescriptdir} $RPM_BUILD_ROOT%{py_sitescriptdir}/Cellulose-0.1.2-py2.4.egg
-rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/Cellulose-0.1.2-py2.4.egg
+unzip -d $RPM_BUILD_ROOT%{py_sitescriptdir} $RPM_BUILD_ROOT%{py_sitescriptdir}/Cellulose-0.1.2-py%py_ver.egg
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/Cellulose-0.1.2-py%py_ver.egg
cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{module}
rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py[co]
rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/EGG-INFO
-cp -a $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-%{python_version}.egg/gooeypy $RPM_BUILD_ROOT%{py_sitescriptdir}/gooeypy
-rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-%{python_version}.egg/examples
-rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-%{python_version}.egg/docs
-rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-%{python_version}.egg/gooeypy
+cp -a $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-py%py_ver.egg/gooeypy $RPM_BUILD_ROOT%{py_sitescriptdir}/gooeypy
+rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}-%{version}-py%py_ver.egg
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
@@ -93,6 +90,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2007/05/27 15:45:30 cactus
+- python version from rpm macros
+- some clean ups
+
Revision 1.4 2007/05/27 13:01:38 beorn
- Added missing BR:
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/python-GooeyPy.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list