15
0

- Build for primary python only, due to how Boost is built.

- Remove some Python 2 gubbins.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pgmagick?expand=0&rev=14
This commit is contained in:
2025-07-09 05:16:40 +00:00
committed by Git OBS Bridge
parent dff38ceff0
commit 8ec13718ef
2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 9 05:15:43 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Build for primary python only, due to how Boost is built.
- Remove some Python 2 gubbins.
-------------------------------------------------------------------
Thu Mar 21 05:54:25 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pgmagick
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,10 @@
#
# Building for primary python only due to Boost only being built for the
# primary python, and exporting all symbols. We can revisit after Python
# 3.13 is the lowest version we build for.
%define pythons python3
%{?sle15_python_module_pythons}
Name: python-pgmagick
Version: 0.7.6
@@ -37,9 +41,6 @@ BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(GraphicsMagick++)
%if 0%{?suse_version} >= 1500
BuildRequires: libboost_python3-devel
%if %{with python2}
BuildRequires: libboost_python-devel
%endif
%else
BuildRequires: boost-devel
%endif