packages: python-EditObj2/python-EditObj2.spec - Do not use %{py_sitedir} i...

jajcus jajcus at pld-linux.org
Sat Nov 28 19:04:05 CET 2009


Author: jajcus                       Date: Sat Nov 28 18:04:05 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Do not use %{py_sitedir} in noarch python packages!
- Release: 2

---- Files affected:
packages/python-EditObj2:
   python-EditObj2.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: packages/python-EditObj2/python-EditObj2.spec
diff -u packages/python-EditObj2/python-EditObj2.spec:1.14 packages/python-EditObj2/python-EditObj2.spec:1.15
--- packages/python-EditObj2/python-EditObj2.spec:1.14	Tue Mar 31 10:36:12 2009
+++ packages/python-EditObj2/python-EditObj2.spec	Sat Nov 28 19:04:00 2009
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Narzędzie służące do tworzenia różnych edytorów
 Name:		python-%{module}
 Version:	0.2.1
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Applications
 Source0:	http://download.gna.org/songwrite/%{module}-%{version}.tar.gz
@@ -38,8 +38,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__python} setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--install-purelib=%{py_sitedir}
+	--root=$RPM_BUILD_ROOT
 
 %py_postclean
 
@@ -48,10 +47,9 @@
 
 %files
 %defattr(644,root,root,755)
-%dir %{py_sitedir}/editobj2
 %dir %{py_sitescriptdir}/editobj2
-%{py_sitedir}/editobj2/*.py[co]
-%{py_sitedir}/*.egg-info
+%{py_sitescriptdir}/editobj2/*.py[co]
+%{py_sitescriptdir}/*.egg-info
 %{py_sitescriptdir}/editobj2/icons
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -60,6 +58,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.15  2009/11/28 18:04:00  jajcus
+- Do not use %{py_sitedir} in noarch python packages!
+- Release: 2
+
 Revision 1.14  2009/03/31 08:36:12  lisu
 - build noarch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-EditObj2/python-EditObj2.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list