[packages/aws-c-auth] - adjust cmake module search path to support also libx32
qboosh
qboosh at pld-linux.org
Wed Nov 4 19:16:25 CET 2026
commit a15113203053d6206fe8e94437acb21d3be8c827
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Nov 4 19:17:14 2026 +0100
- adjust cmake module search path to support also libx32
aws-c-auth.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/aws-c-auth.spec b/aws-c-auth.spec
index bc95490..880773c 100644
--- a/aws-c-auth.spec
+++ b/aws-c-auth.spec
@@ -21,6 +21,7 @@ BuildRequires: aws-c-sdkutils-devel >= 1.0
BuildRequires: cmake >= 3.9
BuildRequires: gcc >= 5:3.2
BuildRequires: rpmbuild(macros) >= 1.605
+BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -52,6 +53,8 @@ Pliki nagłówkowe biblioteki AWS C Authentication.
%prep
%setup -q
+%{__sed} -i -e '/^ *PATH_SUFFIXES / s,lib/cmake/aws-,%{_lib}/cmake/aws-,' CMakeLists.txt
+
%build
install -d build
cd build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/aws-c-auth.git/commitdiff/a15113203053d6206fe8e94437acb21d3be8c827
More information about the pld-cvs-commit
mailing list