public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-mapnik] rawhide: Drop support for 32 bit i686 builds
@ 2026-12-02  9:54 Tom Hughes
  0 siblings, 0 replies; only message in thread
From: Tom Hughes @ 2026-12-02  9:54 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-mapnik
Branch : rawhide
Commit : 4c1929bfbea8528859648ed1fdf7734738b8d7d0
Author : Tom Hughes <tom@compton.nu>
Date   : 2026-12-02T09:14:21+00:00
Stats  : +1/-37 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-mapnik/c/4c1929bfbea8528859648ed1fdf7734738b8d7d0?branch=rawhide

Log:
Drop support for 32 bit i686 builds

---
diff --git a/python-mapnik-32bit.patch b/python-mapnik-32bit.patch
deleted file mode 100644
index ac39430..0000000
--- a/python-mapnik-32bit.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 1c46fe71d240be4c8b3cded401ee2ab84a688399 Mon Sep 17 00:00:00 2001
-From: Tom Hughes <tom@compton.nu>
-Date: Wed, 19 Jun 2024 18:48:24 +0100
-Subject: [PATCH 6/6] Fix for 32 bit compatiblity
-
----
- src/mapnik_value_converter.hpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/mapnik_value_converter.hpp b/src/mapnik_value_converter.hpp
-index 4a04094ae..e9b11f112 100644
---- a/src/mapnik_value_converter.hpp
-+++ b/src/mapnik_value_converter.hpp
-@@ -126,7 +126,7 @@ public:
-         {
-             PyObject *tmp = PyNumber_Long(source);
-             if (!tmp) return false;
--            value = PyLong_AsLong(tmp);
-+            value = static_cast<mapnik::value_integer>(PyLong_AsLongLong(tmp));
-             Py_DecRef(tmp);
-             return !PyErr_Occurred();
-         }
-@@ -180,7 +180,7 @@ public:
-         {
-             PyObject *tmp = PyNumber_Long(source);
-             if (!tmp) return false;
--            value = static_cast<mapnik::value_integer>(PyLong_AsLong(tmp));
-+            value = static_cast<mapnik::value_integer>(PyLong_AsLongLong(tmp));
-             Py_DecRef(tmp);
-             return !PyErr_Occurred();
-         }
--- 
-2.56.1
-

diff --git a/python-mapnik.spec b/python-mapnik.spec
index bb8b701..0f37b76 100644
--- a/python-mapnik.spec
+++ b/python-mapnik.spec
@@ -25,13 +25,11 @@ Patch:          python-mapnik-pkgconfig.patch
 Patch:          python-mapnik-pybind11.patch
 # Build in C++20 mode
 Patch:          python-mapnik-c++20.patch
-# Fix for 32 bit support
-Patch:          python-mapnik-32bit.patch
 
 # Exclude big endian architectures as mapnik does not support them
 # https://github.com/mapnik/mapnik/issues/2313
 # https://bugzilla.redhat.com/show_bug.cgi?id=1395208
-ExcludeArch:    ppc ppc64 s390 s390x
+ExcludeArch:    ppc ppc64 s390 s390x i686
 
 BuildRequires:  gcc-c++
 BuildRequires:  sqlite-devel

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-02  9:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-02  9:54 [rpms/python-mapnik] rawhide: Drop support for 32 bit i686 builds Tom Hughes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox