rpms/python-tidy/F-8 python-tidy-0.2-64-bit-safe.patch, NONE, 1.1 python-tidy.spec, 1.2, 1.3

Terje Røsten terjeros at fedoraproject.org
Sat Oct 18 16:21:58 UTC 2008


Author: terjeros

Update of /cvs/extras/rpms/python-tidy/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20287

Modified Files:
	python-tidy.spec 
Added Files:
	python-tidy-0.2-64-bit-safe.patch 
Log Message:
* Sat Oct 18 2008 Terje Rosten <terjeros at phys.ntnu.no> - 0.2-4
- Not 64 bits clean, #467246, thanks to Jose Pedro Oliveira
  for report and patch.


python-tidy-0.2-64-bit-safe.patch:

--- NEW FILE python-tidy-0.2-64-bit-safe.patch ---
--- uTidylib-0.2/tidy/lib.py~	2004-02-24 08:12:24.000000000 +0100
+++ uTidylib-0.2/tidy/lib.py	2008-10-18 14:26:02.000000000 +0200
@@ -130,6 +130,8 @@
 
 sinkfactory=SinkFactory()
 
+_tidy.Create.restype = ctypes.POINTER(ctypes.c_void_p)
+
 class _Document(object):
     def __init__(self):
         self.cdoc = _tidy.Create()


Index: python-tidy.spec
===================================================================
RCS file: /cvs/extras/rpms/python-tidy/F-8/python-tidy.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- python-tidy.spec	17 Feb 2008 18:15:43 -0000	1.2
+++ python-tidy.spec	18 Oct 2008 16:21:28 -0000	1.3
@@ -5,11 +5,14 @@
 Summary:       Python wrapper for tidy, from the HTML tidy project
 Name:          python-tidy
 Version:       0.2
-Release:       3%{?dist}
+Release:       4%{?dist}
 License:       MIT
 Group:         Development/Languages
 URL:           http://utidylib.berlios.de/
 Source0:       http://download.berlios.de/utidylib/%{oname}-%{version}.zip
+# Upstream bug: 
+# http://developer.berlios.de/bugs/?func=detailbug&bug_id=14691&group_id=1810
+Patch0:        python-tidy-0.2-64-bit-safe.patch
 Requires:      python >= 2.5 libtidy >= 0.99.0
 BuildRequires: python-devel >= 2.5
 BuildArch:     noarch
@@ -21,6 +24,7 @@
 
 %prep
 %setup -q -n %{oname}-%{version}
+%patch0 -p1
 
 %build
 %{__python} setup.py build
@@ -38,6 +42,10 @@
 %{python_sitelib}/*
 
 %changelog
+* Sat Oct 18 2008 Terje Rosten <terjeros at phys.ntnu.no> - 0.2-4
+- Not 64 bits clean, #467246, thanks to Jose Pedro Oliveira
+  for report and patch.
+
 * Sun Feb 17 2008 Terje Rosten <terjeros at phys.ntnu.no> - 0.2-3
 - Fix license (again)
 




More information about the scm-commits mailing list