[packages/qesteidutil/dev-3.12: 2/3] BREAKPAD option is URL for breakpad crash reporting, empty for disabled
glen
glen at pld-linux.org
Wed Aug 22 08:37:51 CEST 2018
commit ad1b60ef0ee1b83fcd76f0fc33bc0ab9cf17bdf7
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Wed Aug 22 09:12:25 2018 +0300
BREAKPAD option is URL for breakpad crash reporting, empty for disabled
defaults to https://cr.eesti.ee/
qesteidutil.spec | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/qesteidutil.spec b/qesteidutil.spec
index 91da349..1d13be1 100644
--- a/qesteidutil.spec
+++ b/qesteidutil.spec
@@ -1,3 +1,11 @@
+#
+# Conditional build:
+%bcond_without breakpad # build without breakpad crash reporting
+
+%ifnarch %{arm} %{ix86} %{x8664}
+%undefine with_breakpad
+%endif
+
Summary: Estonian ID card utility
Name: qesteidutil
Version: 3.12.10
@@ -44,8 +52,8 @@ rm -r common/qtsingleapplication
install -d build
cd build
%cmake \
-%ifarch %{arm} %{ix86} %{x8664}
- -DBREAKPAD=ON \
+%if %{without breakpad}
+ -DBREAKPAD="" \
%endif
..
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qesteidutil.git/commitdiff/2af9cd256a9982af15b2700808ae84fc52267a5c
More information about the pld-cvs-commit
mailing list