diff --git a/fdo-client.changes b/fdo-client.changes index aa76daa..3baf99a 100644 --- a/fdo-client.changes +++ b/fdo-client.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 2 08:23:13 UTC 2024 - Dominique Leuenberger + +- Fix build using RPM 4.19: builddir does contain the extracted + tartball, but can also contain special directories used by RPM, + resolving in globbing to behave differently. + ------------------------------------------------------------------- Mon Nov 13 15:18:20 UTC 2023 - Stefan Schubert diff --git a/fdo-client.spec b/fdo-client.spec index b5c62c8..d6d4c28 100644 --- a/fdo-client.spec +++ b/fdo-client.spec @@ -1,7 +1,7 @@ # # spec file for package fdo-client # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,10 +33,10 @@ Patch0: build.patch Patch1: gcc.patch Requires: openssl BuildRequires: cmake -BuildRequires: vim BuildRequires: gcc-c++ -BuildRequires: libopenssl-devel BuildRequires: libcurl-devel +BuildRequires: libopenssl-devel +BuildRequires: vim %{?systemd_ordering} %description @@ -59,18 +59,19 @@ credentials while porting this to different platforms. %setup -q %setup -q -D -a 1 %setup -q -D -a 2 -%patch0 -p1 -%patch1 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 %build +echo "%_builddir" pushd . cd safestringlib* mkdir obj make popd -cd tinycbor* +pushd tinycbor* make -cd %{_builddir}/%{name}* +popd export SAFESTRING_ROOT=%{_builddir}/%{name}-%{version}/safestringlib-1.0.0+git20171208.5da1bad export TINYCBOR_ROOT=%{_builddir}/%{name}-%{version}/tinycbor-1.0.0+git20191022.755f9ef export BLOB_PATH=%{_sharedstatedir}/%{name}