From 315b01b766ec664ca97117fdabdd878e1224b55e Mon Sep 17 00:00:00 2001 From: Luya Tshimbalanga Date: May 23 2020 17:30:59 +0000 Subject: Disable python3 binding for CentOS and Red Hat Enterprise Switch to pkgconfig build requirements as possible --- diff --git a/openvdb.spec b/openvdb.spec index 82a527d..4cd546b 100644 --- a/openvdb.spec +++ b/openvdb.spec @@ -20,7 +20,14 @@ BuildRequires: ghostscript >= 8.70 BuildRequires: libstdc++-devel BuildRequires: pkgconfig(blosc) >= 1.5.0 BuildRequires: pkgconfig(cppunit) >= 1.10 +# RHEL and CentOS only has that build requirement for x86_64 +%if 0%{?rhel} +%ifarch x86_64 +BuildRequires: glfw-devel >= 2.7 +%endif +%else BuildRequires: pkgconfig(glfw3) >= 2.7 +%endif BuildRequires: pkgconfig(IlmBase) BuildRequires: pkgconfig(jemalloc) BuildRequires: pkgconfig(log4cplus) >= 1.0 @@ -142,7 +149,7 @@ find %{buildroot} -name '*.a' -delete %changelog * Sat May 23 2020 Luya Tshimbalanga - 7.0.0-3 - Disable python3 binding for CentOS and Red Hat Enterprise -- Use pkgconfig for more build requirements +- Switch to pkgconfig build requirements as possible * Wed Jan 29 2020 Fedora Release Engineering - 7.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild