Require libs subpackage for python3/devel

This commit is contained in:
Simone Caronni 2018-07-17 13:28:58 +02:00
parent 543410dce3
commit 3d699f455d

View File

@ -6,7 +6,7 @@
Name: openvdb
Version: 5.1.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/
@ -54,7 +54,7 @@ applications typically encountered in feature film production.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for developing
@ -62,7 +62,7 @@ applications that use %{name}.
%package python3
Summary: OpenVDB Python module
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python2 < 5.1.0-1
Provides: %{name}-python2 = %{version}-%{release}
@ -166,6 +166,9 @@ find %{buildroot} -name '*.a' -delete
%doc %{name}/doc/html
%changelog
* Tue Jul 17 2018 Simone Caronni <negativo17@gmail.com> - 5.1.0-3
- Require libs subpackage for python3/devel.
* Tue Jul 17 2018 Simone Caronni <negativo17@gmail.com> - 5.1.0-2
- Fix Python 3 Boost link.