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=e78e6452df....
Change:
+%ifarch x86_64
Thanks.
Full change:
============
commit e78e6452df6774c0d8ca438936bdc4d73e204da2
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Mon May 8 14:57:22 2017 +0200
Initial import
diff --git a/.gitignore b/.gitignore
index e69de29..7bec772 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/openvdb-4.0.1.tar.gz
diff --git a/openvdb.spec b/openvdb.spec
new file mode 100644
index 0000000..7e49a0c
--- /dev/null
+++ b/openvdb.spec
@@ -0,0 +1,155 @@
+%global python_version %(%{__python2} -c "import sys ;
print(sys.version[:3])")
+
+%{!?python2_sitearch: %global python2_sitearch %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+Name: openvdb
+Version: 4.0.1
+Release: 1%{?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/dreamworksanimation/%{name}/archive/v%{version}.tar.gz...
+
+BuildRequires: blosc-devel >= 1.5.0
+BuildRequires: boost-devel >= 1.57.0
+BuildRequires: cmake >= 2.8
+BuildRequires: cppunit-devel >= 1.10
+BuildRequires: doxygen >= 1.8.11
+BuildRequires: epydoc
+BuildRequires: ghostscript >= 8.70
+BuildRequires: glfw-devel >= 2.7
+BuildRequires: ilmbase-devel
+BuildRequires: libXi-devel
+BuildRequires: log4cplus-devel >= 1.0
+BuildRequires: make >= 4.1
+BuildRequires: OpenEXR-devel
+BuildRequires: python
+BuildRequires: python2-numpy
+BuildRequires: python-devel
+BuildRequires: tbb-devel >= 3.0
+BuildRequires: zlib-devel
+
+%description
+OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
+hierarchical data structure and a suite of tools for the efficient storage and
+manipulation of sparse volumetric data discretized on three-dimensional grids.
+It is developed and maintained by DreamWorks Animation for use in volumetric
+applications typically encountered in feature film production.
+
+This package contains some graphical tools.
+
+%package libs
+Summary: Core OpenVDB libraries
+
+%description libs
+OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
+hierarchical data structure and a suite of tools for the efficient storage and
+manipulation of sparse volumetric data discretized on three-dimensional grids.
+It is developed and maintained by DreamWorks Animation for use in volumetric
+applications typically encountered in feature film production.
+
+%package devel
+Summary: Development files for %{name}
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for developing
+applications that use %{name}.
+
+%package python
+Summary: OpenVDB Python module
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description python
+OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
+hierarchical data structure and a suite of tools for the efficient storage and
+manipulation of sparse volumetric data discretized on three-dimensional grids.
+It is developed and maintained by DreamWorks Animation for use in volumetric
+applications typically encountered in feature film production.
+
+This package contains the Python module.
+
+%prep
+%setup -q
+
+# Hardcoded paths for installation, as described in the INSTALL file
+sed -i -e 's@lib@%{_lib}@g' %{name}/CMakeLists.txt
+
+# Save Makefile that contains doc building instructions, new cmake build system
+# does not build docs yet
+cp %{name}/Makefile %{name}/Makefile.docbuild
+
+%build
+%cmake \
+ -DBLOSC_LOCATION=%{_prefix} \
+ -DCPPUNIT_LOCATION=%{_prefix} \
+ -DGLEW_LOCATION=%{_prefix} \
+ -DGLFW3_LOCATION=%{_prefix} \
+ -DILMBASE_NAMESPACE_VERSIONING=OFF \
+ -DILMBASE_LOCATION=%{_prefix} \
+ -DOPENEXR_LOCATION=%{_prefix} \
+ -DOPENEXR_NAMESPACE_VERSIONING=OFF \
+ -DOPENVDB_ENABLE_RPATH=OFF \
+ -DOPENVDB_ENABLE_3_ABI_COMPATIBLE=ON \
+ -DPYTHON_VERSION=%{python_version} \
+ -DTBB_LOCATION=%{_prefix} \
+ -DUSE_GLFW3=True
+
+%make_build
+
+# Build docs with previously saved Makefile
+pushd %{name}
+make -f Makefile.docbuild doc
+popd
+
+# vdb_unit_test fails everywhere except on x86_64
+%ifarch x86_64
+%check
+make test
+%endif
+
+%install
+%make_install
+
+# Remove CMakeFiles from includes
+rm -fr %{buildroot}/%{_includedir}/CMakeFiles
+
+# Let RPM pick up HTML documents in the files section
+rm -fr %{buildroot}/%{_datadir}/doc
+
+find %{buildroot} -name '*.a' -delete
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+%files
+%{_bindir}/vdb_view
+%{_bindir}/vdb_print
+%{_bindir}/vdb_render
+
+%files libs
+%license %{name}/LICENSE %{name}/COPYRIGHT
+%doc README.md %{name}/CHANGES
+%{_libdir}/*.so.*
+
+%files python
+%{_libdir}/python%{python_version}/py%{name}.so
+
+%files devel
+%doc %{name}/doc/html
+%{_includedir}/*
+%{_libdir}/*.so
+
+%changelog
+* Sat Apr 22 2017 Simone Caronni <negativo17(a)gmail.com> - 4.0.1-1
+- Update to 4.0.1.
+- Perform tests, build HTML documentation.
+- Require main OpenVDB library for Python module.
+
+* Wed Nov 23 2016 Simone Caronni <negativo17(a)gmail.com> - 4.0.0-2
+- Update to 4.0.0.
+
+* Sun Oct 16 2016 Simone Caronni <negativo17(a)gmail.com> -
4.0.0-1.20161015git40271e7
+- First build.
diff --git a/sources b/sources
index e69de29..70c7b03 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (openvdb-4.0.1.tar.gz) =
37586691027cba347164ad3bcdb775267f79fa505ec4b303ca6210c0ec5fe1766b6bf01180d562db91f0b8c32df4ef36a8a518ad9cc2e7e305940fa5217838f9