[gtk-vnc] rpm: run make check during build



commit 94849d8ba5be4557dc5be31170962fea4cd6fefb
Author: Daniel P. Berrangé <berrange redhat com>
Date:   Thu May 2 14:27:50 2019 +0100

    rpm: run make check during build
    
    Signed-off-by: Daniel P. Berrangé <berrange redhat com>

 gtk-vnc.spec.in | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/gtk-vnc.spec.in b/gtk-vnc.spec.in
index 7532a00..abca915 100644
--- a/gtk-vnc.spec.in
+++ b/gtk-vnc.spec.in
@@ -221,6 +221,19 @@ rm -f %{buildroot}%{_libdir}/*.la
 %postun -n gtk-vnc2 -p /sbin/ldconfig
 %endif
 
+%check
+%if %{with_gtk2}
+cd gtk-vnc-%{version}
+make %{?_smp_mflags} check
+cd ..
+%endif
+
+%if %{with_gtk3}
+cd gtk-vnc2-%{version}
+make %{?_smp_mflags} check
+cd ..
+%endif
+
 %if %{with_gtk2}
 %files
 %{_libdir}/libgtk-vnc-1.0.so.*


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