From 14047cdd08458753547d00b0ba9b8713130ab3016ec81e2327eeaa7c5597b41c Mon Sep 17 00:00:00 2001 From: Matthias Gerstner Date: Tue, 23 Oct 2018 15:47:33 +0000 Subject: [PATCH] - fix broken build due to newer glib dependency that reports a full path for gdbus-codegen, breaking the configure check. OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=37 --- tpm2.0-abrmd.changes | 6 ++++++ tpm2.0-abrmd.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/tpm2.0-abrmd.changes b/tpm2.0-abrmd.changes index f2d7e45..280ede7 100644 --- a/tpm2.0-abrmd.changes +++ b/tpm2.0-abrmd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 23 15:46:28 UTC 2018 - matthias.gerstner@suse.com + +- fix broken build due to newer glib dependency that reports a full path for + gdbus-codegen, breaking the configure check. + ------------------------------------------------------------------- Wed Sep 26 15:51:01 UTC 2018 - matthias.gerstner@suse.com diff --git a/tpm2.0-abrmd.spec b/tpm2.0-abrmd.spec index 710ac82..404bef2 100644 --- a/tpm2.0-abrmd.spec +++ b/tpm2.0-abrmd.spec @@ -78,6 +78,9 @@ use with the SAPI library (libtss2-sys) like any other TCTI. %build export CFLAGS="%optflags -fPIE" export LDFLAGS="-pie -fPIE" +# workaround for the bug that upstream commit +# b4036908dd067f8eadc9d53b1a2a39032aed109d fixes +export GDBUS_CODEGEN="/usr/bin/gdbus-codegen" %configure --disable-static --with-systemdsystemunitdir=%{_unitdir} make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread