rpms/pida/devel pida.spec,1.8,1.9

Adam Miller maxamillion at fedoraproject.org
Fri Jul 23 19:41:27 UTC 2010


Author: maxamillion

Update of /cvs/extras/rpms/pida/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv28162

Modified Files:
	pida.spec 
Log Message:
Updated python macros as per python packaging guidelines




Index: pida.spec
===================================================================
RCS file: /cvs/extras/rpms/pida/devel/pida.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -r1.8 -r1.9
--- pida.spec	22 Jul 2010 02:54:26 -0000	1.8
+++ pida.spec	23 Jul 2010 19:41:26 -0000	1.9
@@ -1,8 +1,6 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=1)")}
-
-%if 0%{?fc7}
-%else
-  %define _remove_encoding --remove-key Encoding
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %endif
 
 Summary:	A Python IDE written in Python and GTK



More information about the scm-commits mailing list