diff --git vtk/vtk.spec vtk/vtk.spec.tmp index 18642eae33..ce8ef8ee6b 100644 --- vtk/vtk.spec +++ vtk/vtk.spec.tmp @@ -17,7 +17,7 @@ Summary: The Visualization Toolkit - A high level 3D visualization library Name: vtk Version: 7.1.1 -Release: 5%{?dist} +Release: 6%{?dist} # This is a variant BSD license, a cross between BSD and ZLIB. # For all intents, it has the same rights and restrictions as BSD. # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant @@ -185,11 +185,15 @@ Requires: vtk%{?_isa} = %{version}-%{release} %description tcl tcl bindings for VTK. -%package python +%package -n python2-vtk +%{?python_provide:%python_provide python2-vtk} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for VTK Requires: vtk%{?_isa} = %{version}-%{release} -%description python +%description -n python2-vtk python bindings for VTK. %if %{with java} @@ -736,9 +740,9 @@ cat xorg.log %postun tcl -p /sbin/ldconfig -%post python -p /sbin/ldconfig +%post -n python2-vtk -p /sbin/ldconfig -%postun python -p /sbin/ldconfig +%postun -n python2-vtk -p /sbin/ldconfig %if %{with java} %post java -p /sbin/ldconfig @@ -785,7 +789,7 @@ cat xorg.log %{tcl_sitelib}/vtk/ %exclude %{tcl_sitelib}/vtk/vtktcl.c -%files python +%files -n python2-vtk %{python2_sitearch}/* %{_libdir}/vtk/*Python27D.so.* %exclude %{_libdir}/vtk/*QtPython27D.so.* @@ -935,6 +939,10 @@ cat xorg.log %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 7.1.1-6 +- Python 2 binary package renamed to python2-vtk + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 7.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild