Rename python subpackage (module) to python2
This commit is contained in:
parent
d218576728
commit
4078160d13
17
openvdb.spec
17
openvdb.spec
@ -4,7 +4,7 @@
|
||||
|
||||
Name: openvdb
|
||||
Version: 4.0.1
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: C++ library for sparse volumetric data discretized on three-dimensional grids
|
||||
License: MPLv2.0
|
||||
URL: http://www.openvdb.org/
|
||||
@ -23,9 +23,9 @@ BuildRequires: ilmbase-devel
|
||||
BuildRequires: libXi-devel
|
||||
BuildRequires: log4cplus-devel >= 1.0
|
||||
BuildRequires: OpenEXR-devel
|
||||
BuildRequires: python
|
||||
BuildRequires: python2
|
||||
BuildRequires: python2-numpy
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: tbb-devel >= 3.0
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
@ -56,11 +56,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
The %{name}-devel package contains libraries and header files for developing
|
||||
applications that use %{name}.
|
||||
|
||||
%package python
|
||||
%package python2
|
||||
Summary: OpenVDB Python module
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: %{name}-python < 4.0.1-5
|
||||
Provides: %{name}-python = %{version}-%{release}
|
||||
|
||||
%description python
|
||||
%description python2
|
||||
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.
|
||||
@ -145,7 +147,7 @@ find %{buildroot} -name '*.a' -delete
|
||||
%doc README.md %{name}/CHANGES
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files python
|
||||
%files python2
|
||||
%{_libdir}/python%{python_version}/py%{name}.so
|
||||
|
||||
%files devel
|
||||
@ -156,6 +158,9 @@ find %{buildroot} -name '*.a' -delete
|
||||
%doc %{name}/doc/html
|
||||
|
||||
%changelog
|
||||
* Sun Jul 23 2017 Simone Caronni <negativo17@gmail.com> - 4.0.1-5
|
||||
- Rename python subpackage (module) to python2.
|
||||
|
||||
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 4.0.1-4
|
||||
- Rebuilt for s390x binutils bug
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user