diff --git a/0001-anolis-libxcrypt-add-loongarch64.patch b/0001-anolis-libxcrypt-add-loongarch64.patch new file mode 100644 index 0000000000000000000000000000000000000000..beec457dc54bd4028148db6b46176e9cd01d643e --- /dev/null +++ b/0001-anolis-libxcrypt-add-loongarch64.patch @@ -0,0 +1,8 @@ +diff -urN libxcrypt-4.1.1/libcrypt.minver libxcrypt-4.1.1-new/libcrypt.minver +--- libxcrypt-4.1.1/libcrypt.minver 2018-07-26 23:17:55.000000000 +0800 ++++ libxcrypt-4.1.1-new/libcrypt.minver 2021-09-17 09:00:29.460478904 +0800 +@@ -52,3 +52,4 @@ + sh.* GLIBC_2.0 + sparc.* GLIBC_2.0 + x86_64.* GLIBC_2.0 /* 32 */ ++loongarch64.* GLIBC_2.2.5 diff --git a/libxcrypt.spec b/libxcrypt.spec index 0bafdef56485ab4f8f82db67486891cb70af6ea5..06712d385b2acd7259a96f63c5ee8b52e1cbff86 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 # Shared object version of libcrypt. %global soc 1 %global sol 1 @@ -19,7 +20,7 @@ Name: libxcrypt Version: 4.1.1 -Release: 6%{?dist} +Release: 6%{anolis_release}%{?dist} Summary: Extended crypt library for DES, MD5, Blowfish and others # For explicit license breakdown, see the @@ -31,6 +32,8 @@ Patch1: libxcrypt-rh1612157.patch Patch2: libxcrypt-rh1613537.patch # fix for salt interoperability issue: https://github.com/besser82/libxcrypt/pull/106 Patch3: libxcrypt-rh1899716.patch +#Add by Anolis +Patch100: 0001-anolis-libxcrypt-add-loongarch64.patch BuildRequires: fipscheck BuildRequires: libtool @@ -183,6 +186,9 @@ is highly discouraged. %changelog +* Fri Sep 17 2021 liuyaxuan - 4.1.1-6.0.1 +- anolis libxcrypt add loongarch64 + * Thu Apr 29 2021 Stanislav Zidek - 4.1.1-6 + libxcrypt-4.1.1-6 - Rebuilt with fixed binutils (#1954438)