From dd899f184ff8a965ce84f1bc53e7f00377d43de6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Sun, 28 May 2006 20:12:34 +0000 Subject: [PATCH] - fix build Changed files: Zope-Interface.spec -> 1.4 ZopeInterface-build.patch -> 1.1 --- Zope-Interface.spec | 4 +++- ZopeInterface-build.patch | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 ZopeInterface-build.patch diff --git a/Zope-Interface.spec b/Zope-Interface.spec index 32cd2ec..bd9e054 100644 --- a/Zope-Interface.spec +++ b/Zope-Interface.spec @@ -2,11 +2,12 @@ Summary: zope.interface package used in Zope 3 Summary(pl): Modu³ interface u¿ywany w Zope 3 Name: ZopeInterface Version: 3.0.1 -Release: 2 +Release: 3 License: ZPL 2.0 Group: Development/Tools Source0: http://www.zope.org/Products/ZopeInterface/%{version}final/%{name}-%{version}.tgz # Source0-md5: 114f302c2b132d43ad4e01d108b4d192 +Patch0: %{name}-build.patch URL: http://www.zope.org/Products/ZopeInterface/ BuildRequires: python BuildRequires: python-devel @@ -21,6 +22,7 @@ Modu %prep %setup -q +%patch0 -p1 %build python ./setup.py build diff --git a/ZopeInterface-build.patch b/ZopeInterface-build.patch new file mode 100644 index 0000000..e412238 --- /dev/null +++ b/ZopeInterface-build.patch @@ -0,0 +1,12 @@ +diff -urN ZopeInterface-3.0.1.org/Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c ZopeInterface-3.0.1/Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c +--- ZopeInterface-3.0.1.org/Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c 2004-08-04 12:03:17.000000000 +0200 ++++ ZopeInterface-3.0.1/Dependencies/zope.interface-ZopeInterface-3.0.1/zope.interface/_zope_interface_coptimizations.c 2006-05-28 22:10:17.000000000 +0200 +@@ -70,7 +70,7 @@ + return 0; + } + +-extern PyTypeObject SpecType; /* Forward */ ++static PyTypeObject SpecType; /* Forward */ + + static PyObject * + implementedByFallback(PyObject *cls) -- 2.44.0