[packages/libreoffice] add systemtap bcond

atler atler at pld-linux.org
Thu Feb 16 12:39:34 CET 2023


commit 246371b052268f8e012952c1231507ae92e4a9f0
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Feb 16 09:21:50 2023 +0100

    add systemtap bcond

 libreoffice.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libreoffice.spec b/libreoffice.spec
index cf02a7c..bc33dae 100644
--- a/libreoffice.spec
+++ b/libreoffice.spec
@@ -31,6 +31,7 @@
 %bcond_without	eot			# Embedded OpenType fonts support
 %bcond_without	firebird		# Firebird-SDBC driver
 %bcond_without	pgsql			# PostgreSQL-SDBC driver
+%bcond_without	systemtap		# systemtap probes support
 
 %bcond_with	system_agg		# system agg library (not supported as of 6.4.x, pdfium uses included version)
 %bcond_without	system_beanshell	# system Java BeanShell library
@@ -237,7 +238,7 @@ BuildRequires:	rpmbuild(macros) >= 1.752
 BuildRequires:	sane-backends-devel
 BuildRequires:	sed >= 4.0
 BuildRequires:	startup-notification-devel >= 0.5
-BuildRequires:	systemtap-sdt-devel
+%{?with_systemtap:BuildRequires:	systemtap-sdt-devel}
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	unixODBC-devel >= 2.2.12-2
 BuildRequires:	unzip
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libreoffice.git/commitdiff/b5fdb33e8cba51bb86042643605edb78a5d5b654



More information about the pld-cvs-commit mailing list