rpms/python-reportlab/FC-3 python-reportlab.spec, 1.3, 1.4 sources, 1.2, 1.3
Brian Pepple (bpepple)
fedora-extras-commits at redhat.com
Wed Mar 30 16:17:06 UTC 2005
Author: bpepple
Update of /cvs/extras/rpms/python-reportlab/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12847
Modified Files:
python-reportlab.spec sources
Log Message:
update to 1.20
Index: python-reportlab.spec
===================================================================
RCS file: /cvs/extras/rpms/python-reportlab/FC-3/python-reportlab.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-reportlab.spec 10 Dec 2004 22:03:10 -0000 1.3
+++ python-reportlab.spec 30 Mar 2005 16:17:03 -0000 1.4
@@ -1,28 +1,27 @@
%define pyver %(python -c 'import sys ; print sys.version[:3]')
-%define pynext %(python -c 'print %{pyver} + 0.1')
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-Name: python-reportlab
-Version: 1.19
-Release: 2
-Epoch: 0
-Summary: Python PDF generation library
-
-Group: Development/Libraries
-License: BSD
-URL: http://www.reportlab.org/
-Source0: http://www.reportlab.org/ftp/ReportLab_1_19.tgz
-
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Name: python-reportlab
+Version: 1.20
+Release: 1.fc3
+Summary: Python PDF generation library
+
+Group: Development/Libraries
+License: BSD
+URL: http://www.reportlab.org/
+Source0: http://www.reportlab.org/ftp/ReportLab_1_20.tgz
-BuildRequires: python-devel >= 0:2.2
-Requires: python >= 0:%{pyver}, python < 0:%{pynext}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: python-devel >= 2.2
+Requires: python-abi = %{pyver}
%description
Python PDF generation library.
%prep
-%setup -q -n reportlab-1_19
+%setup -q -n reportlab_1_20
%build
@@ -35,9 +34,9 @@
cd ./reportlab
%{__python} setup.py install --root $RPM_BUILD_ROOT
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/python%{pyver}/reportlab/README
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/python%{pyver}/reportlab/changes
-rm -f ${RPM_BUILD_ROOT}%{_libdir}/python%{pyver}/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
@@ -46,10 +45,15 @@
%files
%defattr(-,root,root,-)
%doc reportlab/README reportlab/changes reportlab/license.txt
-%{_libdir}/python%{pyver}/*
+%{python_sitelib}/*
%changelog
+* 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
+- Add dist tag.
+
* Sat Apr 24 2004 Brian Pepple <bdpepple at ameritech.net> 0:1.19-0.fdr.2
- Removed %ghosts.
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-reportlab/FC-3/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 8 Nov 2004 05:15:57 -0000 1.2
+++ sources 30 Mar 2005 16:17:03 -0000 1.3
@@ -1 +1 @@
-02eeec6481f71918bf469a78edc4437c ReportLab_1_19.tgz
+8d374b9b6f7db3fc0821082347d5e6b5 ReportLab_1_20.tgz
More information about the fedora-extras-commits
mailing list