diff --git vigra/vigra.spec vigra/vigra.spec.tmp index 926cca5d88..1aeecf8dc9 100644 --- vigra/vigra.spec +++ vigra/vigra.spec.tmp @@ -2,7 +2,7 @@ Summary: Generic Programming for Computer Vision Name: vigra Version: 1.11.0 -Release: 9%{?dist} +Release: 10%{?dist} License: MIT Group: Development/Libraries # The "Lenna" files are non-free, we need to remove them from the source tarball. @@ -47,12 +47,16 @@ The vigra-devel package includes the header files necessary for developing programs that use the vigra library. %if ! 0%{?rhel} -%package python +%package -n python2-vigra +%{?python_provide:%python_provide python2-vigra} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python interface for the vigra computer vision library Requires: %{name}%{?_isa} = %{version}-%{release} Requires: numpy numpy-f2py -%description python +%description -n python2-vigra The vigra-python package provides python bindings for vigra %endif @@ -106,12 +110,16 @@ rm -rf %{buildroot} %doc doc/vigra doc/vigranumpy %if ! 0%{?rhel} -%files python +%files -n python2-vigra %{python_sitearch}/vigra %{_libdir}/vigranumpy %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.11.0-10 +- Python 2 binary package renamed to python2-vigra + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.11.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild