The package rpms/openvdb.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/openvdb.git/commit/?id=315b01b766....
Change:
+%ifarch x86_64
Thanks.
Full change:
============
commit 763869348b54570a8a730cc149cc7b98bf336e0b
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Sat May 23 10:33:15 2020 -0700
Disable python3 binding for CentOS and Red Hat Enterprise
On RHEL and CentOS, glfw is exclusive for x86_64
Switch to pkgconfig build requirements as possible
diff --git a/openvdb.spec b/openvdb.spec
index 4cd546b..80e2d62 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -149,6 +149,7 @@ find %{buildroot} -name '*.a' -delete
%changelog
* Sat May 23 2020 Luya Tshimbalanga <luya(a)fedoraproject.org> - 7.0.0-3
- Disable python3 binding for CentOS and Red Hat Enterprise
+- On RHEL and CentOS, glfw is exclusive for x86_64
- Switch to pkgconfig build requirements as possible
* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 7.0.0-2
commit 315b01b766ec664ca97117fdabdd878e1224b55e
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Sat May 23 10:30:59 2020 -0700
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 <luya(a)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(a)fedoraproject.org> - 7.0.0-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
commit 095bf1f727cc5ccc62d0a47cad8a39df8ce6df1c
Merge: b43ae63 02fd0a6
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Sat May 23 09:54:07 2020 -0700
Disable python3 binding for CentOS and Red Hat Enterprise
Use pkgconfig for more build requirements
diff --cc openvdb.spec
index 5e9d987,7d7a53f..82a527d
--- a/openvdb.spec
+++ b/openvdb.spec
@@@ -3,7 -3,7 +3,7 @@@
Name: openvdb
Version: 7.0.0
--Release: 2%{?dist}
++Release: 3%{?dist}
Summary: C++ library for sparse volumetric data discretized on three-dimensional
grids
License: MPLv2.0
URL:
http://www.openvdb.org/
@@@ -140,10 -133,9 +140,13 @@@ find %{buildroot} -name '*.a' -delet
%{_libdir}/*.so
%changelog
- * Sat May 23 2020 Luya Tshimbalanga <luya(a)fedoraproject.org> - 7.0.0-2
++* Sat May 23 2020 Luya Tshimbalanga <luya(a)fedoraproject.org> - 7.0.0-3
+- Disable python3 binding for CentOS and Red Hat Enterprise
+- Use pkgconfig for more build requirements
+
+ * Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 7.0.0-2
+ - Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
* Wed Dec 11 2019 Luya Tshimbalanga <luya(a)fedoraproject.org> - 7.0.0-1
- Update to 7.0.0
- Set python3 module installation path via cmake
commit b43ae634f0207aff6a6f9d390226c6a1ebe45877
Author: Luya Tshimbalanga <luya(a)fedoraproject.org>
Date: Sat May 23 09:51:51 2020 -0700
Disable python3 binding for CentOS and Red Hat Enterprise
Use pkgconfig for more build requirements
diff --git a/openvdb.spec b/openvdb.spec
index 9cbc688..5e9d987 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -3,31 +3,31 @@
Name: openvdb
Version: 7.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C++ library for sparse volumetric data discretized on three-dimensional
grids
License: MPLv2.0
URL:
http://www.openvdb.org/
Source0:
https://github.com/AcademySoftwareFoundation/%{name}/archive/v%{version}....
-BuildRequires: blosc-devel >= 1.5.0
BuildRequires: boost-devel >= 1.61
BuildRequires: boost-python3-devel
BuildRequires: cmake >= 2.8
-BuildRequires: cppunit-devel >= 1.10
BuildRequires: doxygen >= 1.8.11
#BuildRequires: epydoc
BuildRequires: gcc-c++
BuildRequires: ghostscript >= 8.70
-BuildRequires: glfw-devel >= 2.7
-BuildRequires: ilmbase-devel
-BuildRequires: jemalloc-devel
BuildRequires: libstdc++-devel
-BuildRequires: libXi-devel
-BuildRequires: log4cplus-devel >= 1.0
-BuildRequires: OpenEXR-devel >= 2.2
-BuildRequires: tbb-devel >= 3.0
-BuildRequires: zlib-devel > 1.2.7
+BuildRequires: pkgconfig(blosc) >= 1.5.0
+BuildRequires: pkgconfig(cppunit) >= 1.10
+BuildRequires: pkgconfig(glfw3) >= 2.7
+BuildRequires: pkgconfig(IlmBase)
+BuildRequires: pkgconfig(jemalloc)
+BuildRequires: pkgconfig(log4cplus) >= 1.0
+BuildRequires: pkgconfig(OpenEXR) >= 2.2
+BuildRequires: pkgconfig(tbb) >= 3.0
+BuildRequires: pkgconfig(xi)
+BuildRequires: pkgconfig(zlib) > 1.2.7
%description
OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
@@ -58,6 +58,7 @@ Provides: %{name}-doc = %{version}-%{release}
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}.
+%if 0%{?fedora}
%package -n python3-%{name}
Summary: OpenVDB Python module
BuildRequires: pkgconfig(python3)
@@ -72,6 +73,8 @@ Provides: %{name}-python2 = %{version}-%{release}
%{description}
This package contains the Python module.
+%endif
+
%prep
%autosetup
@@ -91,7 +94,9 @@ export CXXFLAGS="%{optflags} -Wl,--as-needed"
-DCMAKE_NO_SYSTEM_FROM_IMPORTED=TRUE \
-DDISABLE_DEPENDENCY_VERSION_CHECKS=ON \
-DOPENVDB_BUILD_DOCS=ON \
+%if 0%{?fedora}
-DOPENVDB_BUILD_PYTHON_MODULE=ON \
+%endif
-DOPENVDB_BUILD_UNITTESTS=OFF \
-DOPENVDB_ENABLE_RPATH=OFF \
-DOPENVDB_INSTALL_CMAKE_MODULES=OFF \
@@ -124,8 +129,10 @@ find %{buildroot} -name '*.a' -delete
%doc README.md CHANGES
%{_libdir}/*.so.*
+%if 0%{?fedora}
%files -n python3-%{name}
%{python3_sitearch}/py%{name}.so
+%endif
%files devel
%doc html
@@ -133,6 +140,10 @@ find %{buildroot} -name '*.a' -delete
%{_libdir}/*.so
%changelog
+* Sat May 23 2020 Luya Tshimbalanga <luya(a)fedoraproject.org> - 7.0.0-2
+- Disable python3 binding for CentOS and Red Hat Enterprise
+- Use pkgconfig for more build requirements
+
* Wed Dec 11 2019 Luya Tshimbalanga <luya(a)fedoraproject.org> - 7.0.0-1
- Update to 7.0.0
- Set python3 module installation path via cmake