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=fde0919f6f....
Change:
+%ifarch x86_64
Thanks.
Full change:
============
commit fde0919f6f5b2512e4037a0e4de85e0aa500ef55
Author: Simone Caronni <negativo17(a)gmail.com>
Date: Tue Jul 17 10:24:03 2018 +0200
Update to 5.1.0
diff --git a/.gitignore b/.gitignore
index cbdbe87..7922219 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/openvdb-4.0.2.tar.gz
/openvdb-5.0.0.tar.gz
/fix-compatibility-boost.patch
+/openvdb-5.1.0.tar.gz
diff --git a/openvdb.spec b/openvdb.spec
index 1bafa9e..ce96a4f 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -1,18 +1,21 @@
-%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)")}
+%global python_version %(%{__python3} -c "import sys ;
print(sys.version[:3])")
+%{!?python3_sitearch: %global python3_sitearch %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+# Set to 1 to enable testsuite. Fails everywhere with GCC 8+.
+%global with_tests 0
Name: openvdb
-Version: 5.0.0
-Release: 4%{?dist}
+Version: 5.1.0
+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...
-Patch1: fix-compatibility-boost.patch
BuildRequires: blosc-devel >= 1.5.0
BuildRequires: boost-devel >= 1.57.0
+BuildRequires: boost-python3-devel
BuildRequires: cmake >= 2.8
BuildRequires: cppunit-devel >= 1.10
BuildRequires: doxygen >= 1.8.11
@@ -24,9 +27,9 @@ BuildRequires: ilmbase-devel
BuildRequires: libXi-devel
BuildRequires: log4cplus-devel >= 1.0
BuildRequires: OpenEXR-devel
-BuildRequires: python2
-BuildRequires: python2-numpy
-BuildRequires: python2-devel
+BuildRequires: python3
+BuildRequires: python3-numpy
+BuildRequires: python3-devel
BuildRequires: tbb-devel >= 3.0
BuildRequires: zlib-devel
@@ -57,14 +60,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}.
-%package python2
+%package python3
Summary: OpenVDB Python module
Requires: %{name}%{?_isa} = %{version}-%{release}
-Obsoletes: %{name}-python < 4.0.1-5
-Provides: %{name}-python = %{version}-%{release}
-BuildRequires: boost-python2-devel
+Obsoletes: %{name}-python2 < 5.1.0-1
+Provides: %{name}-python2 = %{version}-%{release}
-%description python2
+%description python3
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.
@@ -119,11 +121,12 @@ pushd %{name}
make -f Makefile.docbuild doc
popd
-## vdb_unit_test fails everywhere with gcc-c++ 8.x
-#%%ifarch x86_64
-#%%check
-#%%make test
-#%%endif
+%if 0%{?with_tests}
+%ifarch x86_64
+%check
+%make test
+%endif
+%endif
%install
%make_install
@@ -136,9 +139,9 @@ rm -fr %{buildroot}/%{_datadir}/doc
find %{buildroot} -name '*.a' -delete
-#%%post libs -p /sbin/ldconfig
+%post libs -p /sbin/ldconfig
-#%%postun libs -p /sbin/ldconfig
+%postun libs -p /sbin/ldconfig
%files
%{_bindir}/vdb_view
@@ -150,7 +153,7 @@ find %{buildroot} -name '*.a' -delete
%doc README.md %{name}/CHANGES
%{_libdir}/*.so.*
-%files python2
+%files python3
%{_libdir}/python%{python_version}/py%{name}.so
%files devel
@@ -161,6 +164,10 @@ find %{buildroot} -name '*.a' -delete
%doc %{name}/doc/html
%changelog
+* Tue Jul 17 2018 Simone Caronni <negativo17(a)gmail.com> - 5.1.0-1
+- Update to 5.1.0.
+- Switch to Python 3.
+
* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 5.0.0-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
diff --git a/sources b/sources
index 6059f8c..4b1cae4 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-SHA512 (openvdb-5.0.0.tar.gz) =
8916d54683d81144114e57f8332be43b7547e6da5d194f6147bcefd4ee9e8e7ec817f27b65adb129dfd149e6b308f4bab30591ee953ee2c319636491bf051a2b
-SHA512 (fix-compatibility-boost.patch) =
dea18aaa4bec27d34fa8a8e76c10b5aa6a28ea62d9841f816a02fce330a44b926e3e98638e1f712313ace9a5fa03918d4aa88f6298d8e48168374aa978d550ba
+SHA512 (openvdb-5.1.0.tar.gz) =
c71d040a1862f5e31f084125e9695da3ebf171788956d7d4c16f99ead26a099a81d5a9c30ba2cc61f29e32e21f822796ae34f6c62496050894087735a19489f6
commit fbd2adcfd1edcc218393525e8e6925541ac079d8
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 15:13:48 2018 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/openvdb.spec b/openvdb.spec
index 17805ab..1bafa9e 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -3,7 +3,7 @@
Name: openvdb
Version: 5.0.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: C++ library for sparse volumetric data discretized on three-dimensional
grids
License: MPLv2.0
URL:
http://www.openvdb.org/
@@ -161,6 +161,9 @@ find %{buildroot} -name '*.a' -delete
%doc %{name}/doc/html
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 5.0.0-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Tue May 01 2018 Jonathan Wakely <jwakely(a)redhat.com> - 5.0.0-3
- Add BuildRequires: boost-python2-devel to fix build with boost-1.66.0-7.fc29
commit 67b40ac802d6ed89c5d3ff288b346ee3d5d11a30
Author: Jonathan Wakely <jwakely(a)redhat.com>
Date: Tue May 1 18:53:30 2018 +0100
Add BuildRequires: boost-python2-devel to fix build with boost-1.66.0-7.fc29
diff --git a/openvdb.spec b/openvdb.spec
index 86aa0e9..17805ab 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -3,7 +3,7 @@
Name: openvdb
Version: 5.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/
@@ -62,6 +62,7 @@ Summary: OpenVDB Python module
Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < 4.0.1-5
Provides: %{name}-python = %{version}-%{release}
+BuildRequires: boost-python2-devel
%description python2
OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
@@ -160,6 +161,9 @@ find %{buildroot} -name '*.a' -delete
%doc %{name}/doc/html
%changelog
+* Tue May 01 2018 Jonathan Wakely <jwakely(a)redhat.com> - 5.0.0-3
+- Add BuildRequires: boost-python2-devel to fix build with boost-1.66.0-7.fc29
+
* Sun Mar 04 2018 Luya Tshimbalanga <luya(a)fedoraproject.org> - 5.0.0-2
- Added gcc-c++ dependency
- Upstream patch for Boost compability