rpms/python-reportlab/devel python-reportlab.spec,1.5,1.6
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/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22323/devel
Modified Files:
python-reportlab.spec
Log Message:
Use python_sitearch in spec.
Index: python-reportlab.spec
===================================================================
RCS file: /cvs/extras/rpms/python-reportlab/devel/python-reportlab.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- python-reportlab.spec 30 Mar 2005 16:12:59 -0000 1.5
+++ python-reportlab.spec 7 Apr 2005 14:51:21 -0000 1.6
@@ -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.fc4
+Release: 2.fc4
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.fc4
+- Use python_sitearch to fix x86_64 build.
+
* Wed Mar 30 2005 Brian Pepple <bdpepple at ameritech.net> - 1.20-1.fc4
- Rebuild for Python 2.4.
- Update to 1.20.
More information about the fedora-extras-commits
mailing list