[gtk-vnc] rpm: Rename sub-package from gtk-vnc-python to python2-gtk-vnc
- From: Daniel P. Berrange <dberrange src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-vnc] rpm: Rename sub-package from gtk-vnc-python to python2-gtk-vnc
- Date: Fri, 23 Mar 2018 13:59:49 +0000 (UTC)
commit 015453e9286346e3735a9eb7c0e0889c9f271bd2
Author: Daniel P. Berrangé <berrange redhat com>
Date: Fri Mar 23 11:51:22 2018 +0000
rpm: Rename sub-package from gtk-vnc-python to python2-gtk-vnc
Signed-off-by: Daniel P. Berrangé <berrange redhat com>
gtk-vnc.spec.in | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index 2790d8b..7406413 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -67,11 +67,16 @@ allowing it to be completely asynchronous while remaining single threaded.
Libraries, includes, etc. to compile with the gtk-vnc library
-%package python
+%package -n python2-gtk-vnc
+%{?python_provide:%python_provide python2-gtk-vnc}
+# Remove before F30
+Provides: %{name}-python = %{version}-%{release}
+Provides: %{name}-python%{?_isa} = %{version}-%{release}
+Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python bindings for the gtk-vnc library
Requires: %{name} = %{version}-%{release}
-%description python
+%description -n python2-gtk-vnc
gtk-vnc is a VNC viewer widget for GTK2. It is built using coroutines
allowing it to be completely asynchronous while remaining single threaded.
@@ -233,7 +238,7 @@ rm -f %{buildroot}%{_libdir}/python*/site-packages/*.la
%{_datadir}/gir-1.0/GtkVnc-1.0.gir
%endif
-%files python
+%files -n python2-gtk-vnc
%defattr(-, root, root)
%doc gtk-vnc-%{version}/examples/gvncviewer-bindings.py
%{_libdir}/python*/site-packages/gtkvnc.so
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]