public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Hughes <tom@compton.nu>
To: git-commits@fedoraproject.org
Subject: [rpms/python-mapnik] rawhide: Drop support for 32 bit i686 builds
Date: Wed, 02 Dec 2026 09:54:29 GMT [thread overview]
Message-ID: <179620526983.1.15683730308113486263.rpms-python-mapnik-4c1929bfbea8@fedoraproject.org> (raw)
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
reply other threads:[~2026-12-02 9:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179620526983.1.15683730308113486263.rpms-python-mapnik-4c1929bfbea8@fedoraproject.org \
--to=tom@compton.nu \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox