Hello community, here is the log from the commit of package soapy-sdr for openSUSE:Factory checked in at 2018-01-17 21:58:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/soapy-sdr (Old) and /work/SRC/openSUSE:Factory/.soapy-sdr.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "soapy-sdr" Wed Jan 17 21:58:05 2018 rev:3 rq:566452 version:0.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/soapy-sdr/soapy-sdr.changes 2017-08-16 16:14:04.766303155 +0200 +++ /work/SRC/openSUSE:Factory/.soapy-sdr.new/soapy-sdr.changes 2018-01-17 21:59:16.372509450 +0100 @@ -1,0 +2,11 @@ +Mon Jan 15 20:27:40 UTC 2018 - mar...@gmx.de + +- Add patch to avoid cmake bugs: + * 0001-Remove-whitespace-padding-from-PYTHON3_LIBRARIES-var.patch + +------------------------------------------------------------------- +Sat Oct 7 18:43:05 UTC 2017 - mar...@gmx.de + +- Build only against python3 + +------------------------------------------------------------------- New: ---- 0001-Remove-whitespace-padding-from-PYTHON3_LIBRARIES-var.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ soapy-sdr.spec ++++++ --- /var/tmp/diff_new_pack.r5AxNP/_old 2018-01-17 21:59:16.892485078 +0100 +++ /var/tmp/diff_new_pack.r5AxNP/_new 2018-01-17 21:59:16.896484891 +0100 @@ -1,7 +1,7 @@ # # spec file for package soapy-sdr # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -26,13 +26,14 @@ Group: Development/Libraries/C and C++ Url: https://github.com/pothosware/SoapySDR.git Source: https://github.com/pothosware/SoapySDR/archive/%{name}-%{version}.tar.gz +Patch0: 0001-Remove-whitespace-padding-from-PYTHON3_LIBRARIES-var.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: swig -BuildRequires: pkgconfig(python2) +BuildRequires: pkgconfig(python3) %description A vendor neutral and platform independent SDR support library. @@ -44,13 +45,13 @@ %description -n libSoapySDR%{sover} A vendor neutral and platform independent SDR support library. -%package -n python2-SoapySDR +%package -n python3-SoapySDR Summary: Python bindings for SoapySDR Group: Development/Languages/Python Provides: python-%{name} Recommends: pytnon-numpy -%description -n python2-SoapySDR +%description -n python3-SoapySDR Python Bindings for SoapySDR. A vendor neutral and platform independent SDR support library. @@ -65,9 +66,11 @@ %prep %setup -q -n SoapySDR-%{name}-%{version} +%patch0 -p1 %build -%cmake +%cmake \ + -DBUILD_PYTHON3=ON %make_jobs %install @@ -90,10 +93,10 @@ %doc Changelog.txt LICENSE_1_0.txt README.md %{_libdir}/libSoapySDR.so.* -%files -n python2-SoapySDR +%files -n python3-SoapySDR %defattr(-,root,root) -%{python_sitearch}/SoapySDR.py -%{python_sitearch}/*SoapySDR.so +%{python3_sitearch}/SoapySDR.py +%{python3_sitearch}/*SoapySDR.so %files devel %defattr(-,root,root) ++++++ 0001-Remove-whitespace-padding-from-PYTHON3_LIBRARIES-var.patch ++++++ >From 2979de0bbb253a134f7504b3c56ddb6e6f614624 Mon Sep 17 00:00:00 2001 From: "Jared K. Smith" <jaredsm...@jaredsmith.net> Date: Thu, 7 Dec 2017 14:50:56 -0500 Subject: [PATCH] Remove whitespace padding from PYTHON3_LIBRARIES variable --- python3/FindPython3Libs.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/python3/FindPython3Libs.cmake b/python3/FindPython3Libs.cmake index 8994f0c..9af2007 100644 --- a/python3/FindPython3Libs.cmake +++ b/python3/FindPython3Libs.cmake @@ -156,6 +156,7 @@ if (NOT PYTHON3_LIBRARIES OR NOT PYTHON3_INCLUDE_DIRS) COMMAND ${PYTHON3_CONFIG_EXECUTABLE} --ldflags OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE PYTHON3_LIBRARIES) + string(STRIP "${PYTHON3_LIBRARIES}" PYTHON3_LIBRARIES) endif(PYTHON3_CONFIG_EXECUTABLE) endif() -- 2.13.6