rpms/python-xmpp/devel python-xmpp.spec,1.1,1.2

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Tue Aug 15 04:31:27 UTC 2006


Author: jcollie

Update of /cvs/extras/rpms/python-xmpp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20773

Modified Files:
	python-xmpp.spec 
Log Message:
No longer ghost *.pyo files and other cleanups.


Index: python-xmpp.spec
===================================================================
RCS file: /cvs/extras/rpms/python-xmpp/devel/python-xmpp.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-xmpp.spec	28 May 2006 13:24:44 -0000	1.1
+++ python-xmpp.spec	15 Aug 2006 04:31:26 -0000	1.2
@@ -1,5 +1,4 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:           python-xmpp
 Version:        0.3.1
@@ -14,7 +13,6 @@
 
 BuildArch:      noarch
 BuildRequires:  python-devel
-Requires:	python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
 Requires:	python-dns
 
 %description
@@ -35,7 +33,7 @@
 find doc -type f | xargs chmod a-x
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+CFLAGS="%{optflags}" %{__python} setup.py build
 
 %install
 rm -rf %{buildroot}
@@ -48,12 +46,15 @@
 %defattr(-,root,root,-)
 %doc ChangeLog README doc/*
 
-%dir %{python_sitelib}/xmpp
-%{python_sitelib}/xmpp/*.py
-%{python_sitelib}/xmpp/*.pyc
-%ghost %{python_sitelib}/xmpp/*.pyo
+%{python_sitelib}/xmpp
 
 %changelog
+* Mon Aug 14 2006 Jeffrey C. Ollie <jeff at max1.ocjtech.us> - 0.3.1
+- Remove unneeded python_sitearch macro
+- Remove unneeded python-abi requirement
+- No longer ghost *.pyo files
+
 * Fri May 26 2006 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.3.1-1
 - First version for Fedora Extras
 
+




More information about the fedora-extras-commits mailing list