[packages/aws-c-cal] - adjust cmake module search path to support also libx32
qboosh
qboosh at pld-linux.org
Tue Nov 3 06:26:29 CET 2026
commit 9f484287de6d73fd524961942118791ed7df6419
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Nov 3 06:27:12 2026 +0100
- adjust cmake module search path to support also libx32
aws-c-cal.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/aws-c-cal.spec b/aws-c-cal.spec
index c0c32e1..de62c47 100644
--- a/aws-c-cal.spec
+++ b/aws-c-cal.spec
@@ -20,6 +20,7 @@ BuildRequires: gcc >= 5:3.2
# also aws-lc possible (with -DUSE_OPENSSL=OFF)
%{?with_openssl:BuildRequires: openssl-devel >= 1.0.2}
BuildRequires: rpmbuild(macros) >= 1.605
+BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -47,6 +48,8 @@ Pliki nagłówkowe biblioteki AWS C CAL.
%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-cal.git/commitdiff/9f484287de6d73fd524961942118791ed7df6419
More information about the pld-cvs-commit
mailing list