]> git.pld-linux.org Git - packages/lftp.git/commitdiff
- run tests
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 8 Jan 2017 22:18:02 +0000 (23:18 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 8 Jan 2017 22:18:02 +0000 (23:18 +0100)
lftp.spec

index 13b4414205973ded141062fe941a4c51276f2399..d9afdfa43c200b580df3c91867b5cc0ab6e429c6 100644 (file)
--- 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}}
This page took 0.100031 seconds and 4 git commands to generate.