From 2a2c2f1b8f3646a2a92be10bdb910321cff214021bf984ed62915c3b96dd2c71 Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Sat, 31 Jul 2021 09:22:58 +0000 Subject: [PATCH] Accepting request 907836 from home:wkazubski:test:science - fixed build for s390x (no cpu_features) OBS-URL: https://build.opensuse.org/request/show/907836 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/volk?expand=0&rev=15 --- volk.changes | 5 +++++ volk.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/volk.changes b/volk.changes index 338d8f1..92c8653 100644 --- a/volk.changes +++ b/volk.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 22 20:11:16 UTC 2021 - Wojciech Kazubski + +- fixed build for s390x (no cpu_features) + ------------------------------------------------------------------- Sat Jun 5 12:00:12 UTC 2021 - Martin Hauke diff --git a/volk.spec b/volk.spec index 0066be0..14e97c6 100644 --- a/volk.spec +++ b/volk.spec @@ -85,10 +85,12 @@ chmod -x %{buildroot}%{python3_sitearch}/volk_modtool/*py sed -i -e '1 { \@.*/bin/env.*python.*@ d }' %{buildroot}%{python3_sitearch}/volk_modtool/*py # remove stuff from bundled cpu_features +%ifarch aarch64 armv7hl i586 ppc64le x86_64 rm %{buildroot}%{_bindir}/list_cpu_features rm -R %{buildroot}%{_includedir}/cpu_features rm -R %{buildroot}%{_libdir}/cmake/CpuFeatures rm %{buildroot}%{_libdir}/libcpu_features.a +%endif %fdupes %{buildroot}