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

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sun Oct 22 11:39:04 UTC 2006


Author: mschwendt

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

Modified Files:
	python-reportlab.spec 
Log Message:
sync this with FC-4 and fix incomplete FC-3 build


Index: python-reportlab.spec
===================================================================
RCS file: /cvs/extras/rpms/python-reportlab/FC-3/python-reportlab.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- python-reportlab.spec	7 Apr 2005 14:51:21 -0000	1.5
+++ python-reportlab.spec	22 Oct 2006 11:38:34 -0000	1.6
@@ -1,9 +1,9 @@
 %define pyver %(python -c 'import sys ; print sys.version[:3]')
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:		python-reportlab
 Version:	1.20
-Release:	2.fc3
+Release:	3.fc3
 Summary:	Python PDF generation library
 
 Group:		Development/Libraries
@@ -12,6 +12,7 @@
 Source0:	http://www.reportlab.org/ftp/ReportLab_1_20.tgz
 
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:	noarch
 
 BuildRequires:	python-devel >= 2.2
 Requires:	python-abi = %{pyver}
@@ -34,9 +35,9 @@
 cd ./reportlab
 %{__python} setup.py install --root $RPM_BUILD_ROOT
 
-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
+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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -45,14 +46,19 @@
 %files
 %defattr(-,root,root,-)
 %doc reportlab/README reportlab/changes reportlab/license.txt
-%{python_sitearch}/*
+%{python_sitelib}/*
 
 
 %changelog
+* Mon May  9 2005 Brian Pepple <bdpepple at ameritech.net> - 1.20-3.fc3
+- Switchback to sitelib patch.
+- Make package noarch.
+
 * 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
+- Rebuild for Python 2.4.
 - Update to 1.20.
 - Switch to the new python macros for python-abi
 - Add dist tag.




More information about the fedora-extras-commits mailing list