From f681046f59af9d4f654c9a7d8f1d85a445afd6ee Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Feb 10 2021 22:09:17 +0000 Subject: Build fix for mssql on non-x86_64 platforms --- diff --git a/pcp.spec b/pcp.spec index 2a7adcb..09edf55 100644 --- a/pcp.spec +++ b/pcp.spec @@ -2610,6 +2610,12 @@ BEGIN { printf ("%s\n", $0) >> f; }' +%if %{disable_mssql} +# TODO: integrate better into the PCP build (via autoconf) +# so that this and other mssql artifacts are not generated. +rm -f pcp-pmda-mssql.conf +%endif + for tmpfile in *.conf ; \ do \ mv $tmpfile $DIST_ROOT/$PCP_SYSTEMDTMPFILES_DIR/$tmpfile; \