Disable python3 binding for CentOS and Red Hat Enterprise

Switch to pkgconfig build requirements as possible
This commit is contained in:
Luya Tshimbalanga 2020-05-23 10:30:59 -07:00
parent 095bf1f727
commit 315b01b766
No known key found for this signature in database
GPG Key ID: 5E528174D8A2609A
1 changed files with 8 additions and 1 deletions

View File

@ -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 <luya@fedoraproject.org> - 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 <releng@fedoraproject.org> - 7.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild