[Erp5-report] r16250 - /spec/mandriva/2007.1/python2.4-reportlab/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Sep 11 10:13:23 CEST 2007


Author: kazuhiko
Date: Tue Sep 11 10:13:23 2007
New Revision: 16250

URL: http://svn.erp5.org?rev=16250&view=rev
Log:
back to 1.19 to use ext library. version 1.20 needs more modification of spec file...

Modified:
    spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-filename.patch.bz2
    spec/mandriva/2007.1/python2.4-reportlab/python2.4-reportlab.spec

Modified: spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-filename.patch.bz2
URL: http://svn.erp5.org/spec/mandriva/2007.1/python2.4-reportlab/python-reportlab-filename.patch.bz2?rev=16250&r1=16249&r2=16250&view=diff
==============================================================================
Binary files - no diff available.

Modified: spec/mandriva/2007.1/python2.4-reportlab/python2.4-reportlab.spec
URL: http://svn.erp5.org/spec/mandriva/2007.1/python2.4-reportlab/python2.4-reportlab.spec?rev=16250&r1=16249&r2=16250&view=diff
==============================================================================
--- spec/mandriva/2007.1/python2.4-reportlab/python2.4-reportlab.spec (original)
+++ spec/mandriva/2007.1/python2.4-reportlab/python2.4-reportlab.spec Tue Sep 11 10:13:23 2007
@@ -1,12 +1,12 @@
-%define ver 1_20
+%define ver 1_19
 %define py_platsitedir %{_libdir}/python2.4/site-packages
 
 Summary: ReportLab library to create PDF documents using Python
 Name: python2.4-reportlab
-Version: 1.20
-Release: %mkrel 1
+Version: 1.19
+Release: %mkrel 7
 URL: http://www.reportlab.org/
-Source0: http://www.reportlab.org/ftp/ReportLab_%{ver}.tgz
+Source0: http://www.reportlab.org/ftp/ReportLab_%{ver}.tar.bz2
 Patch0: python-reportlab-table.patch.bz2
 Patch1: python-reportlab-image.patch.bz2
 Patch2: python-reportlab-filename.patch.bz2
@@ -35,7 +35,7 @@
   * from XML to PDF in one step
 
 %prep
-%setup -q -n reportlab_%ver
+%setup -q -n reportlab-%ver
 find . -type f | xargs perl -p -i -e 's@#!/bin/env python@#!/usr/bin/env python2.4@'
 cd reportlab
 %patch0 -p1
@@ -50,6 +50,9 @@
 rm -rf $RPM_BUILD_ROOT
 cd reportlab
 python2.4 setup.py install --root=$RPM_BUILD_ROOT
+cd $RPM_BUILD_ROOT%_libdir/python*
+tar c reportlab | tar x -C site-packages
+rm -rf reportlab
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -59,9 +62,11 @@
 %doc reportlab/docs
 %{py_platsitedir}/*
 
+
+
 %changelog
-* Mon Sep 10 2007 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 1.20-1mdv2007.1
-- version up and apply some patches
+* Mon Sep 10 2007 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 1.19-7mdv2007.1
+- apply some patches
 
 * Sat Jun 30 2007 Jean-Paul Smets <jp at nexedi.com> 1.19-6mdv2007.1
 - py_platsitedir is now based on _libdir




More information about the Erp5-report mailing list