From 9140cc1d6fd1d27f3da2b1e4622b02c9b90a9056 Mon Sep 17 00:00:00 2001 From: tomer doron Date: Thu, 10 Mar 2022 19:20:58 -0800 Subject: [PATCH 1/3] update RPM specs dependencies motivation: static linking required the development version of libxml2 and libcurl changes: include libxml2-devel and libcurl-devel which are needed for static linking --- platforms/Linux/RPM/Amazonlinux/2/swiftlang.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/Linux/RPM/Amazonlinux/2/swiftlang.spec b/platforms/Linux/RPM/Amazonlinux/2/swiftlang.spec index 704c61ba..eb2e1e57 100644 --- a/platforms/Linux/RPM/Amazonlinux/2/swiftlang.spec +++ b/platforms/Linux/RPM/Amazonlinux/2/swiftlang.spec @@ -68,12 +68,12 @@ Requires: git Requires: glibc-static Requires: gzip Requires: libbsd -Requires: libcurl +Requires: libcurl-devel Requires: libedit Requires: libicu Requires: libstdc++-static Requires: libuuid -Requires: libxml2 +Requires: libxml2-devel Requires: sqlite Requires: tar Requires: tzdata From 21482b02b6c961bff332e84bdd7ed3285537f50e Mon Sep 17 00:00:00 2001 From: tomer doron Date: Thu, 10 Mar 2022 19:23:01 -0800 Subject: [PATCH 2/3] Update swiftlang.spec --- platforms/Linux/RPM/Centos/7/swiftlang.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platforms/Linux/RPM/Centos/7/swiftlang.spec b/platforms/Linux/RPM/Centos/7/swiftlang.spec index 87cd25ec..409a9de6 100644 --- a/platforms/Linux/RPM/Centos/7/swiftlang.spec +++ b/platforms/Linux/RPM/Centos/7/swiftlang.spec @@ -69,10 +69,12 @@ Requires: gcc Requires: git Requires: glibc-static Requires: libbsd-devel +Requires: libcurl-devel Requires: libedit Requires: libedit-devel Requires: libicu-devel Requires: libstdc++-static +Requires: libxml2-devel Requires: pkgconfig Requires: python3 Requires: sqlite From 820941600fceafa0669748b537f867a0426526cb Mon Sep 17 00:00:00 2001 From: tomer doron Date: Thu, 10 Mar 2022 22:49:39 -0800 Subject: [PATCH 3/3] Update swiftlang.spec --- platforms/Linux/RPM/Centos/8/swiftlang.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platforms/Linux/RPM/Centos/8/swiftlang.spec b/platforms/Linux/RPM/Centos/8/swiftlang.spec index ea2f48dd..5a9f2266 100644 --- a/platforms/Linux/RPM/Centos/8/swiftlang.spec +++ b/platforms/Linux/RPM/Centos/8/swiftlang.spec @@ -68,10 +68,12 @@ Requires: gcc Requires: git Requires: glibc-static Requires: libbsd-devel +Requires: libcurl-devel Requires: libedit Requires: libedit-devel Requires: libicu-devel Requires: libstdc++-static +Requires: libxml2-devel Requires: pkg-config Requires: python3 Requires: sqlite