From 89cd79e5b241e2e0b4a1d850e45e91077211e01a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 12 Jul 2019 17:48:14 +0200 Subject: [PATCH] Remove bundled cpuinfo used during build --- python-blosc.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-blosc.spec b/python-blosc.spec index 1b418e1..465b578 100644 --- a/python-blosc.spec +++ b/python-blosc.spec @@ -12,6 +12,7 @@ BuildRequires: numpy BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-numpy BuildRequires: python%{python3_pkgversion}-psutil +BuildRequires: python%{python3_pkgversion}-cpuinfo %description %{summary}. @@ -28,6 +29,8 @@ Requires: blosc%{_isa} >= 1.16.0 %prep %autosetup -p1 +# Remove bundled copy +rm cpuinfo.py %build export BLOSC_DIR=%{_libdir}/blosc CFLAGS="%{optflags}"