Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-libusbsio for
openSUSE:Factory checked in at 2023-07-12 17:27:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-libusbsio (Old)
and /work/SRC/openSUSE:Factory/.python-libusbsio.new.8922 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libusbsio"
Wed Jul 12 17:27:53 2023 rev:2 rq:1098309 version:2.1.11
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-libusbsio/python-libusbsio.changes
2023-06-28 21:34:01.854097813 +0200
+++
/work/SRC/openSUSE:Factory/.python-libusbsio.new.8922/python-libusbsio.changes
2023-07-12 17:28:27.158960226 +0200
@@ -1,0 +2,11 @@
+Tue Jul 11 14:44:29 UTC 2023 - Johannes Kastl <[email protected]>
+
+- fix wrong URL for src.zip file that contains the sources for the
+ bin files, that are being compiled during package build
+
+-------------------------------------------------------------------
+Thu Jun 29 08:45:33 UTC 2023 - Andreas Schwab <[email protected]>
+
+- Build from source
+
+-------------------------------------------------------------------
New:
----
libusbsio-2.1.11-src.zip
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-libusbsio.spec ++++++
--- /var/tmp/diff_new_pack.1xE9UW/_old 2023-07-12 17:28:27.858965072 +0200
+++ /var/tmp/diff_new_pack.1xE9UW/_new 2023-07-12 17:28:27.858965072 +0200
@@ -24,28 +24,37 @@
License: BSD-3-Clause
URL:
https://www.nxp.com/design/software/development-software/library-for-windows-macos-and-ubuntu-linux:LIBUSBSIO
Source:
https://files.pythonhosted.org/packages/source/l/libusbsio/libusbsio-%{version}.tar.gz
-BuildRequires: python-rpm-macros
+Source2:
https://www.nxp.com/downloads/en/libraries/libusbsio-%{version}-src.zip
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
+BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
-BuildRequires: libudev1
-BuildRequires: libusb
# /SECTION
BuildRequires: %{python_module setuptools >= 42.0}
BuildRequires: %{python_module wheel >= 0.36.2}
-BuildRequires: fdupes
BuildRequires: dos2unix
+BuildRequires: fdupes
+BuildRequires: unzip
+BuildRequires: pkgconfig(libudev)
+BuildRequires: pkgconfig(libusb-1.0)
%python_subpackages
%description
Python wrapper around NXP LIBUSBSIO library
%prep
-%setup -q -n libusbsio-%{version}
+%setup -q -n libusbsio-%{version} -b 2
+rm -f libusbsio/bin/*/libusbsio*
%build
+pushd ../libusbsio-%{version}-src
+export CFLAGS="%{optflags}"
+%make_build
+popd
+mkdir -p libusbsio/bin/linux_$(uname -m)
+cp ../libusbsio-%{version}-src/bin/linux_$(uname -m)/libusbsio*.so
libusbsio/bin/linux_$(uname -m)
%pyproject_wheel
dos2unix README.md