[packages/libgpod] - use swig 3.x for python2 bindings; release 20
qboosh
qboosh at pld-linux.org
Mon Nov 30 18:23:09 CET 2026
commit 27f1f75e2f67ec7f3289f650ed2321d28d35af44
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Nov 30 18:22:15 2026 +0100
- use swig 3.x for python2 bindings; release 20
libgpod.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libgpod.spec b/libgpod.spec
index 2e80919..c400fe2 100644
--- a/libgpod.spec
+++ b/libgpod.spec
@@ -8,7 +8,7 @@
#
# Conditional build:
%bcond_without dotnet # .NET bindings
-%bcond_without python # Python bindings
+%bcond_without python # Python (2.x) bindings
%ifarch x32
%undefine with_dotnet
@@ -18,7 +18,7 @@ Summary: Shared library to access the contents of an iPod
Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do zawartości iPodów
Name: libgpod
Version: 0.8.3
-Release: 19
+Release: 20
License: GPL v2
Group: Libraries
Source0: https://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2
@@ -63,7 +63,7 @@ BuildRequires: python-devel >= 2.1.1
BuildRequires: python-mutagen >= 1.8
BuildRequires: python-pygobject-devel >= 2.8.0
BuildRequires: rpm-pythonprov
-BuildRequires: swig-python >= 1.3.24
+BuildRequires: swig3-python >= 1.3.24
%endif
Requires: glib2%{?_isa} >= 1:2.16.0
Requires: libimobiledevice%{?_isa} >= 1.1.5
@@ -203,6 +203,7 @@ Pliki programistyczne biblioteki C#/.NET libgpod-sharp.
%{__automake}
%configure \
PYTHON=%{__python} \
+ SWIG=/usr/bin/swig-3 \
--disable-silent-rules \
--enable-gtk-doc \
--enable-mono%{!?with_dotnet:=no} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgpod.git/commitdiff/27f1f75e2f67ec7f3289f650ed2321d28d35af44
More information about the pld-cvs-commit
mailing list