remove now unneeded workaroud

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-abrmd?expand=0&rev=55
This commit is contained in:
Matthias Gerstner 2021-01-29 10:37:52 +00:00 committed by Git OBS Bridge
parent 878c029dde
commit 1d55170c8b

View File

@ -1,7 +1,7 @@
# #
# spec file for package tpm2.0-abrmd # spec file for package tpm2.0-abrmd
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -77,9 +77,6 @@ use with the SAPI library (libtss2-sys) like any other TCTI.
%build %build
export CFLAGS="%optflags -fPIE" export CFLAGS="%optflags -fPIE"
export LDFLAGS="-pie -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} %configure --disable-static --with-systemdsystemunitdir=%{_unitdir}
make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread make %{?_smp_mflags} PTHREAD_LDFLAGS=-pthread