- 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
This commit is contained in:
Matthias Gerstner 2018-10-23 15:47:33 +00:00 committed by Git OBS Bridge
parent 8b282ca0aa
commit 14047cdd08
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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