[gtk-vnc] Only put examples in gtk3 based devel RPM



commit 7eac4ec5b636238b5a4879666a13d584dd15846f
Author: Daniel P. Berrange <berrange redhat com>
Date:   Wed Sep 18 10:52:17 2013 +0100

    Only put examples in gtk3 based devel RPM
    
    The example programs which use introspection are only compatible
    with GTK3, so should be in gtk-vnc2-devel rather than gtk-vnc-devel
    
    Signed-off-by: Daniel P. Berrange <berrange redhat com>

 gtk-vnc.spec.in |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index ca07936..135b564 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -227,11 +227,6 @@ rm -fr %{buildroot}
 %files devel
 %defattr(-, root, root)
 %doc gtk-vnc-%{version}/examples/gvncviewer.c
-%if %{with_gir}
-%doc gtk-vnc-%{version}/examples/gvncviewer.js
-%doc gtk-vnc-%{version}/examples/gvncviewer.pl
-%doc gtk-vnc-%{version}/examples/gvncviewer-introspection.py
-%endif
 %{_libdir}/libgtk-vnc-1.0.so
 %dir %{_includedir}/%{name}-1.0/
 %{_includedir}/%{name}-1.0/*.h
@@ -315,6 +310,8 @@ rm -fr %{buildroot}
 %doc gtk-vnc2-%{version}/examples/gvncviewer.c
 %if %{with_gir}
 %doc gtk-vnc2-%{version}/examples/gvncviewer.js
+%doc gtk-vnc2-%{version}/examples/gvncviewer.pl
+%doc gtk-vnc2-%{version}/examples/gvncviewer-introspection.py
 %endif
 %{_libdir}/libgtk-vnc-2.0.so
 %dir %{_includedir}/%{name}-2.0/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]