Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libsigrokdecode for openSUSE:Factory
checked in at 2022-06-28 15:22:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libsigrokdecode (Old)
and /work/SRC/openSUSE:Factory/.libsigrokdecode.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsigrokdecode"
Tue Jun 28 15:22:26 2022 rev:11 rq:985385 version:0.5.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/libsigrokdecode/libsigrokdecode.changes
2019-12-12 23:19:35.726205770 +0100
+++
/work/SRC/openSUSE:Factory/.libsigrokdecode.new.1548/libsigrokdecode.changes
2022-06-28 15:22:44.889976051 +0200
@@ -1,0 +2,6 @@
+Mon Jun 27 17:42:59 UTC 2022 - Stefan Br??ns <[email protected]>
+
+- Fix build with Python >= 3.9, add
+ 0001-Properly-detect-python-library-for-3.9.patch
+
+-------------------------------------------------------------------
New:
----
0001-Properly-detect-python-library-for-3.9.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libsigrokdecode.spec ++++++
--- /var/tmp/diff_new_pack.TfBf3S/_old 2022-06-28 15:22:45.501976965 +0200
+++ /var/tmp/diff_new_pack.TfBf3S/_new 2022-06-28 15:22:45.505976971 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libsigrokdecode
#
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,10 @@
Group: Productivity/Scientific/Electronics
URL: https://sigrok.org/
Source0:
https://sigrok.org/download/source/libsigrokdecode/%{name}-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE
Patch0: libsigrokdecode-versioned-decoders.patch
+# PATCH-FIX-OPENSUSE
+Patch1: 0001-Properly-detect-python-library-for-3.9.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: check-devel >= 0.9.4
@@ -35,8 +38,6 @@
BuildRequires: libsigrok-devel >= 0.3.0
BuildRequires: libtool
BuildRequires: python3-devel >= 3.2
-Requires: python3
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The sigrok project aims at creating a portable, cross-platform,
@@ -78,13 +79,13 @@
%prep
%setup -q
-%patch0 -p1
+%autopatch -p1
%build
autoreconf -fiv
%configure \
--disable-static
-make %{?_smp_mflags}
+%make_build
%install
%make_install
++++++ 0001-Properly-detect-python-library-for-3.9.patch ++++++
>From d853d727b02f409ab8dd9ae19d6321fbb7d293d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]>
Date: Mon, 27 Jun 2022 19:42:36 +0200
Subject: [PATCH] Properly detect python library for >= 3.9
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 5b432ea..d013b7d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,7 +93,7 @@ SR_PKG_CHECK_SUMMARY([srd_pkglibs_summary])
# first, since usually only that variant will add "-lpython3.8".
#
https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build
SR_PKG_CHECK([python3], [SRD_PKGLIBS],
- [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7],
[python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >=
3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
+ [python3-embed >= 3.9], [python-3.8-embed], [python-3.8 >= 3.8],
[python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >=
3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2])
AS_IF([test "x$sr_have_python3" = xno],
[AC_MSG_ERROR([Cannot find Python 3 development headers.])])
--
2.36.1