Notification time stamped 2023-04-01 00:38:37 UTC
From 45d9f6519539af79a38254070149a3ccb3fea20b Mon Sep 17 00:00:00 2001 From: Kim van der Riet kvanderr@redhat.com Date: Apr 01 2023 00:38:22 +0000 Subject: Attempt fix for whl file _arch issue #2
---
diff --git a/qpid-proton.spec b/qpid-proton.spec index 6c2111d..62878c8 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -240,12 +240,12 @@ rm -rf build # That is also why we have to point pkg-config at the installed library PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig %py3_build_wheel # Fix wheel arch name mismatch for some arches -%ifarch i386 -%define whl_arch i686 -%elifarch arm -%define whl_arch armv7l +%if "%{_arch}" == "i386" +%define whl_arch "i686" +%elif "%{_arch}" == "arm" +%define whl_arch "armv7l" %else -%define whl_arch %{_arch} +%define whl_arch "%{_arch}" %endif %py3_install_wheel python_qpid_proton-%{version}-cp310-cp310-linux_%{whl_arch}.whl # We seem to need to strip the build extension otherwise it seems to embed a reference to
https://src.fedoraproject.org/rpms/qpid-proton/c/45d9f6519539af79a3825407014...