[packages/aws-c-s3] - adjust cmake module search path to support also libx32
qboosh
qboosh at pld-linux.org
Wed Nov 4 20:17:22 CET 2026
commit e8cf99ba5faf6d3ae62e6424c26b987a16775d4c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Nov 4 20:18:11 2026 +0100
- adjust cmake module search path to support also libx32
aws-c-s3.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/aws-c-s3.spec b/aws-c-s3.spec
index ac6284c..b8991bb 100644
--- a/aws-c-s3.spec
+++ b/aws-c-s3.spec
@@ -20,6 +20,7 @@ BuildRequires: aws-checksums-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
@@ -49,6 +50,8 @@ Pliki nagłówkowe biblioteki AWS C S3.
%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-s3.git/commitdiff/e8cf99ba5faf6d3ae62e6424c26b987a16775d4c
More information about the pld-cvs-commit
mailing list