Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lash for openSUSE:Factory checked in at 2021-04-17 23:24:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lash (Old) and /work/SRC/openSUSE:Factory/.lash.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lash" Sat Apr 17 23:24:51 2021 rev:2 rq:886150 version:0.5.4 Changes: -------- --- /work/SRC/openSUSE:Factory/lash/lash.changes 2020-11-23 18:48:24.597240344 +0100 +++ /work/SRC/openSUSE:Factory/.lash.new.12324/lash.changes 2021-04-17 23:24:56.481591620 +0200 @@ -1,0 +2,7 @@ +Sat Apr 17 00:09:08 UTC 2021 - Simon Lees <[email protected]> + +- Greatly simplify 0001-Fix-detection-of-Python-3.patch to use + pkg-config so that it also works with Leap 15.3 +- Fix up parts of the specfile so python3 is used in Leap 15.3 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lash.spec ++++++ --- /var/tmp/diff_new_pack.maOzuM/_old 2021-04-17 23:24:56.957592432 +0200 +++ /var/tmp/diff_new_pack.maOzuM/_new 2021-04-17 23:24:56.961592438 +0200 @@ -1,7 +1,7 @@ # # spec file for package lash # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,9 +41,9 @@ BuildRequires: libtool BuildRequires: libuuid-devel BuildRequires: libxml2-devel +BuildRequires: python3-devel BuildRequires: readline-devel BuildRequires: swig -BuildRequires: python3-devel %description LASH (formerly LADCCA) is a session management system for JACK and ALSA @@ -51,7 +51,6 @@ different audio programs running at once and to save the setup, close them down, then reload the setup at some other time. - %package -n liblash1 Summary: Development package for LASH Group: Development/Libraries/C and C++ @@ -99,9 +98,9 @@ %install %make_install -rm -f %{buildroot}%{python_sitelib}/_lash.la -rm -f %{buildroot}%{python_sitelib}/_lash.a -chmod 644 %{buildroot}/%{python_sitelib}/lash.py +rm -f %{buildroot}%{python3_sitelib}/_lash.la +rm -f %{buildroot}%{python3_sitelib}/_lash.a +chmod 644 %{buildroot}/%{python3_sitelib}/lash.py find %{buildroot} -type f -name "*.la" -delete -print # links for so.2 have to be made for older packages that link against liblash @@ -126,8 +125,8 @@ %files -n python3-lash %doc pylash/test.py -%{python_sitelib}/_lash.so -%{python_sitelib}/lash.py +%{python3_sitelib}/_lash.so +%{python3_sitelib}/lash.py %post -n liblash1 -p /sbin/ldconfig %postun -n liblash1 -p /sbin/ldconfig ++++++ 0001-Fix-detection-of-Python-3.patch ++++++ --- /var/tmp/diff_new_pack.maOzuM/_old 2021-04-17 23:24:56.977592465 +0200 +++ /var/tmp/diff_new_pack.maOzuM/_new 2021-04-17 23:24:56.977592465 +0200 @@ -1,27 +1,24 @@ -From a680164a03fa79e4ba7865732b7696bd19bbd058 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]> -Date: Thu, 23 Jul 2020 19:59:27 +0200 -Subject: [PATCH] Fix detection of Python 3 +Simpler python detection patch Simon Lees [email protected] --- acinclude.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -diff --git a/acinclude.m4 b/acinclude.m4 -index 4722b53..9c7048d 100644 ---- a/acinclude.m4 -+++ b/acinclude.m4 -@@ -65,8 +65,8 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS], +Index: lash-0.5.4/acinclude.m4 +=================================================================== +--- lash-0.5.4.orig/acinclude.m4 ++++ lash-0.5.4/acinclude.m4 +@@ -173,12 +173,7 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS], [AC_REQUIRE([AM_PATH_PYTHON]) AC_MSG_CHECKING(for headers required to compile python extensions) dnl deduce PYTHON_INCLUDES -py_prefix=`$PYTHON -c "import sys; print sys.prefix"` -py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` -+py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"` -+py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"` - PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" - if test "$py_prefix" != "$py_exec_prefix"; then - PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" --- -2.27.0 - +-PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" +-if test "$py_prefix" != "$py_exec_prefix"; then +- PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" +-fi ++PYTHON_INCLUDES=`pkg-config --cflags python3` + AC_SUBST(PYTHON_INCLUDES) + dnl check if the headers exist: + save_CPPFLAGS="$CPPFLAGS"
