diff --git a/0001-add-loongarch64-and-sw_64-support.patch b/0001-add-loongarch64-and-sw_64-support.patch new file mode 100644 index 0000000000000000000000000000000000000000..da8a960be43922d29eff04f3d9c474e401e40819 --- /dev/null +++ b/0001-add-loongarch64-and-sw_64-support.patch @@ -0,0 +1,43 @@ +From 696d4784e8fc2e396bd5a4eaa36208c28ce1c469 Mon Sep 17 00:00:00 2001 +From: houlifei +Date: Wed, 20 Dec 2023 13:43:16 +0800 +Subject: [PATCH] add loongarch64 and sw_64 support + +--- + build-aux/config.guess | 6 ++++++ + build-aux/config.sub | 2 ++ + 2 files changed, 8 insertions(+) + +diff --git a/build-aux/config.guess b/build-aux/config.guess +index b33c9e8..0fed387 100755 +--- a/build-aux/config.guess ++++ b/build-aux/config.guess +@@ -1001,6 +1001,12 @@ EOF + mips64el:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; ++ loongarch64:Linux:*:*) ++ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" ++ exit ;; ++ sw_64:Linux:*:*) ++ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" ++ exit ;; + openrisc*:Linux:*:*) + echo or1k-unknown-linux-"$LIBC" + exit ;; +diff --git a/build-aux/config.sub b/build-aux/config.sub +index b51fb8c..e870eda 100755 +--- a/build-aux/config.sub ++++ b/build-aux/config.sub +@@ -1243,6 +1243,8 @@ case $cpu-$vendor in + | wasm32 \ + | we32k \ + | x86 | x86_64 | xc16x | xgate | xps100 \ ++ | loongarch64 \ ++ | sw_64 \ + | xstormy16 | xtensa* \ + | ymp \ + | z8k | z80) +-- +2.33.0 + diff --git a/acl.spec b/acl.spec index 9c019f6eddf515d494119e620ce8b1e3b968a81b..e3a32181c58f9dacff2822b400ca2c2a0034c083 100644 --- a/acl.spec +++ b/acl.spec @@ -1,6 +1,6 @@ Name: acl Version: 2.3.1 -Release: 2 +Release: 3 Summary: Commands for manipulating POSIX access control lists License: GPLv2+ @@ -9,6 +9,11 @@ Source0: http://download.savannah.nongnu.org/releases/acl/%{name}-%{versio Source1: http://download.savannah.nongnu.org/releases/acl/%{name}-%{version}.tar.gz.sig #From https://savannah.nongnu.org/people/viewgpg.php?user_id=15000 Source2: agruen-key.gpg +Source3: 0001-add-loongarch64-and-sw_64-support.patch + +%ifarch loongarch64 sw_64 +Patch0001: 0001-add-loongarch64-and-sw_64-support.patch +%endif BuildRequires: libattr-devel gawk libtool gettext BuildRequires: chrpath @@ -96,6 +101,9 @@ fi %{_mandir}/man5/* %changelog +* Wed Dec 20 2023 houlifei - 2.3.1-3 +- add loongarch64 and sw_64 support + * Tue Sep 20 2022 yixiangzhike - 2.3.1-2 - Remove rpath and runpath of exec files