rpms/python-reportlab/devel python-reportlab.spec,1.6,1.7
Brian Pepple (bpepple)
fedora-extras-commits at redhat.com
Mon May 9 16:49:20 UTC 2005
Author: bpepple
Update of /cvs/extras/rpms/python-reportlab/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26643
Modified Files:
python-reportlab.spec
Log Message:
Make package noarch & use sitelib path
Index: python-reportlab.spec
===================================================================
RCS file: /cvs/extras/rpms/python-reportlab/devel/python-reportlab.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- python-reportlab.spec 7 Apr 2005 14:51:21 -0000 1.6
+++ python-reportlab.spec 9 May 2005 16:49:18 -0000 1.7
@@ -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.fc4
+Release: 3.fc4
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,10 +46,14 @@
%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.fc4
+- Switchback to sitelib patch.
+- Make package noarch.
+
* Thu Apr 7 2005 Brian Pepple <bdpepple at ameritech.net> - 1.20-2.fc4
- Use python_sitearch to fix x86_64 build.
More information about the fedora-extras-commits
mailing list