Python 2 binary package renamed to python2-vigra

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:44:24 -04:00
parent 74e67b930a
commit a18ce24324
1 changed files with 12 additions and 4 deletions

View File

@ -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 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 1.11.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild