commit e155c28e1457804012ee6b935c7ce6b4b79f235d
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Mon Jan 11 08:41:16 2021 +0100

    - run tests

 openvpn.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/openvpn.spec b/openvpn.spec
index 25738a7..534805f 100644
--- a/openvpn.spec
+++ b/openvpn.spec
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without pkcs11          # PKCS#11 support
+%bcond_without tests
 
 Summary:       VPN Daemon
 Summary(pl.UTF-8):     Serwer VPN
@@ -168,6 +169,10 @@ CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags liblz4)"
 
 %{__make}
 
+%if %{with tests}
+%{__make} check
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/openvpn,%{_sbindir},%{_mandir}/man8} 
\
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openvpn.git/commitdiff/e155c28e1457804012ee6b935c7ce6b4b79f235d

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

Reply via email to