[packages/syslog-ng] Rel 2; systemd journal - auto; show test suite logs on failure

arekm arekm at pld-linux.org
Thu Aug 1 21:22:21 CEST 2024


commit d76746182dc64c52bbfc28b1bf0cc8639d131f0e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Aug 1 20:58:16 2024 +0200

    Rel 2; systemd journal - auto; show test suite logs on failure

 syslog-ng.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/syslog-ng.spec b/syslog-ng.spec
index 1444c80..f2d4263 100644
--- a/syslog-ng.spec
+++ b/syslog-ng.spec
@@ -38,7 +38,7 @@ Summary(pl.UTF-8):	Syslog-ng - systemowy demon logujący nowej generacji
 Summary(pt_BR.UTF-8):	Daemon de log nova geração
 Name:		syslog-ng
 Version:	4.8.0
-Release:	1
+Release:	2
 License:	GPL v2+ with OpenSSL exception
 Group:		Daemons
 #Source0Download: https://github.com/syslog-ng/syslog-ng/releases
@@ -424,6 +424,7 @@ done
 	--enable-spoof-source \
 	--enable-ssl \
 	--enable-systemd%{!?with_systemd:=no} \
+	--with-systemd-journal=auto \
 	--enable-tcp-wrapper \
 %if %{with sql}
 	--enable-sql \
@@ -447,7 +448,10 @@ done
 LD_LIBRARY_PATH=$(find $PWD -name '*.so*' -printf "%h:")
 PYTHONPATH=$(pwd)/tests/functional
 export LD_LIBRARY_PATH PYTHONPATH
-%{__make} check
+if ! %{__make} check; then
+	cat test-suite.log
+	exit 1
+fi
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/syslog-ng.git/commitdiff/d76746182dc64c52bbfc28b1bf0cc8639d131f0e



More information about the pld-cvs-commit mailing list