commit 324a72019c0a2b03d58ab8aac6eef9bfe54246d8
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Sun Jan 8 23:18:02 2017 +0100

    - run tests

 lftp.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/lftp.spec b/lftp.spec
index 13b4414..d9afdfa 100644
--- a/lftp.spec
+++ b/lftp.spec
@@ -2,6 +2,7 @@
 # - package itself defaults to GNUTLS (prefferring over openssl) should we too?
 #
 # Conditional build:
+%bcond_without tests
 %bcond_without ssl     # do not use SSL
 %bcond_with    gnutls  # use gnutls, otherwise openssl is used when ssl is on
 # better just preload it instead forcing linking
@@ -119,6 +120,8 @@ CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
 
 %{__make}
 
+%{?with_tests:%{__make} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir},%{_desktopdir}}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lftp.git/commitdiff/324a72019c0a2b03d58ab8aac6eef9bfe54246d8

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to