rpms/python-reportlab/FC-3 python-reportlab.spec,1.4,1.5

Brian Pepple (bpepple) fedora-extras-commits at redhat.com
Thu Apr 7 14:51:23 UTC 2005


Author: bpepple

Update of /cvs/extras/rpms/python-reportlab/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22323/FC-3

Modified Files:
	python-reportlab.spec 
Log Message:
Use python_sitearch in spec.


Index: python-reportlab.spec
===================================================================
RCS file: /cvs/extras/rpms/python-reportlab/FC-3/python-reportlab.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- python-reportlab.spec	30 Mar 2005 16:17:03 -0000	1.4
+++ python-reportlab.spec	7 Apr 2005 14:51:21 -0000	1.5
@@ -1,9 +1,9 @@
 %define pyver %(python -c 'import sys ; print sys.version[:3]')
-%{!?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-reportlab
 Version:	1.20
-Release:	1.fc3
+Release:	2.fc3
 Summary:	Python PDF generation library
 
 Group:		Development/Libraries
@@ -34,9 +34,9 @@
 cd ./reportlab
 %{__python} setup.py install --root $RPM_BUILD_ROOT
 
-rm -f ${RPM_BUILD_ROOT}%{python_sitelib}/reportlab/README
-rm -f ${RPM_BUILD_ROOT}%{python_sitelib}/reportlab/changes
-rm -f ${RPM_BUILD_ROOT}%{python_sitelib}/reportlab/license.txt
+rm -f ${RPM_BUILD_ROOT}%{python_sitearch}/reportlab/README
+rm -f ${RPM_BUILD_ROOT}%{python_sitearch}/reportlab/changes
+rm -f ${RPM_BUILD_ROOT}%{python_sitearch}/reportlab/license.txt
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -45,10 +45,13 @@
 %files
 %defattr(-,root,root,-)
 %doc reportlab/README reportlab/changes reportlab/license.txt
-%{python_sitelib}/*
+%{python_sitearch}/*
 
 
 %changelog
+* Thu Apr  7 2005 Brian Pepple <bdpepple at ameritech.net> - 1.20-2.fc3
+- Use python_sitearch to fix x86_64 build.
+
 * Wed Mar 30 2005 Brian Pepple <bdpepple at ameritech.net> - 1.20-1.fc3
 - Update to 1.20.
 - Switch to the new python macros for python-abi




More information about the fedora-extras-commits mailing list