[spice-gtk/f20] Package gtk3 version of spice client tools

Christophe Fergeau teuf at fedoraproject.org
Mon Oct 20 16:06:42 UTC 2014


commit 69462df48e075c99761c9cbbf060e1ce8fd5cd41
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Sep 24 12:40:18 2014 +0200

    Package gtk3 version of spice client tools

 spice-gtk.spec |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/spice-gtk.spec b/spice-gtk.spec
index 9f9e7cc..855bfde 100644
--- a/spice-gtk.spec
+++ b/spice-gtk.spec
@@ -13,7 +13,7 @@
 
 Name:           spice-gtk
 Version:        0.23
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        A GTK+ widget for SPICE clients
 
 Group:          System Environment/Libraries
@@ -133,7 +133,7 @@ A module allowing use of the spice-gtk-2.0 widget from python
 %package tools
 Summary: Spice-gtk tools
 Group: Applications/Internet
-Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: spice-gtk3%{?_isa} = %{version}-%{release}
 
 %description tools
 Simple clients for interacting with SPICE servers.
@@ -174,15 +174,15 @@ cd ..
 
 %install
 
-%if %{with_gtk3}
-cd spice-gtk3-%{version}
+cd spice-gtk-%{version}
 make install DESTDIR=%{buildroot}
 cd ..
-%endif
 
-cd spice-gtk-%{version}
+%if %{with_gtk3}
+cd spice-gtk3-%{version}
 make install DESTDIR=%{buildroot}
 cd ..
+%endif
 
 rm -f %{buildroot}%{_libdir}/*.a
 rm -f %{buildroot}%{_libdir}/*.la
@@ -270,6 +270,11 @@ rm -rf %{buildroot}%{_datadir}/pkgconfig/spice-protocol.pc
 %{_bindir}/spicy-stats
 
 %changelog
+* Wed Sep 24 2014 Christophe Fergeau <cfergeau at redhat.com> 0.25-6
+- Run make install in gtk3 build after doing so in gtk2 build, otherwise
+  we'll end up packaging gtk2 builds of spicy et al in spice-client-tools
+  instead of gtk3 ones (#1145829)
+
 * Thu Jul 17 2014 Rex Dieter <rdieter at fedoraproject.org> 0.23-3
 - rebuild (for pulseaudio, bug #1117683)
 


More information about the scm-commits mailing list