diff --git a/config.h b/config.h index d0860baa8ae36de2effa33851a3de7274d650c18..5b29676e462e6980fe3cf837cded6751ce6fd26c 100644 --- a/config.h +++ b/config.h @@ -9,7 +9,7 @@ #endif #define srtp_multilib_redirection_h -#if defined(__x86_64__) || defined(__PPC64__) || (defined(__sparc__) && defined(__arch64__)) || defined(__s390x__) || defined(__aarch64__) +#if defined(__x86_64__) || defined(__PPC64__) || (defined(__sparc__) && defined(__arch64__)) || defined(__s390x__) || defined(__aarch64__) || defined(__loongarch__) #include "srtp/config-64.h" #else #include "srtp/config-32.h" diff --git a/libsrtp.spec b/libsrtp.spec index c4bfe263166ac5801d592e0b80075ff504196552..9e96e84298682e690fe66cae9435ce287a994889 100644 --- a/libsrtp.spec +++ b/libsrtp.spec @@ -1,8 +1,9 @@ +%define anolis_release .0.1 %global shortname srtp Name: libsrtp Version: 1.5.4 -Release: 8%{?dist} +Release: 8%{anolis_release}%{?dist} Summary: An implementation of the Secure Real-time Transport Protocol (SRTP) Group: System Environment/Libraries License: BSD @@ -75,6 +76,9 @@ cp -a %{SOURCE2} %{buildroot}%{_includedir}/%{shortname}/config.h %{_libdir}/*.so %changelog +* Wed Nov 24 2021 Liwei Ge - 1.5.4-8.0.1 +- Support loongarch64 platform + * Mon Sep 03 2018 Wim Taymans - 1.5.4-8 - Port to openssl 1.1.0 - Build against openssl