diff --git a/0001-openEuler-rpm-config-30-add-loongarch64-to-the-gener.patch b/0001-openEuler-rpm-config-30-add-loongarch64-to-the-gener.patch new file mode 100644 index 0000000000000000000000000000000000000000..e339d5440b5dff7333828d232f8868e595dc58c4 --- /dev/null +++ b/0001-openEuler-rpm-config-30-add-loongarch64-to-the-gener.patch @@ -0,0 +1,26 @@ +From 4e42a51c2e35614a9d3c8ab1e92d011d6f66f81f Mon Sep 17 00:00:00 2001 +From: Huang Yang +Date: Thu, 19 May 2022 03:25:22 +0000 +Subject: [PATCH] openEuler-rpm-config 30 add loongarch64 to the generic_arches + macro definition + +--- + macros | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/macros b/macros +index dc8c749..981140b 100644 +--- a/macros ++++ b/macros +@@ -241,7 +241,7 @@ + %pkg_vcmp() (%{expand:%%{pkg_version_cmp %1 %3}} %2 0) + + #arches macros +-%generic_arches %{ix86} x86_64 %{arm} aarch64 ++%generic_arches %{ix86} x86_64 %{arm} aarch64 loongarch64 + %ldc_arches %{generic_arches} + %valgrind_arches %{generic_arches} + %nodejs_arches %{generic_arches} +-- +2.33.0 + diff --git a/openEuler-rpm-config.spec b/openEuler-rpm-config.spec index fd8bd6b1047de46652134afca9c479fc3179a15b..90611d3cbd0f1b257371a24d1f93bc8597f3976a 100644 --- a/openEuler-rpm-config.spec +++ b/openEuler-rpm-config.spec @@ -3,7 +3,7 @@ Name: %{vendor}-rpm-config Version: 30 -Release: 24 +Release: 25 License: GPL+ Summary: specific rpm configuration files URL: https://gitee.com/openeuler/openEuler-rpm-config @@ -18,7 +18,8 @@ Patch4: openEuler-remove-fexceptions.patch Patch5: exclude-kernel-source-and-EFI-files-in-digest-list-building.patch Patch6: add-brp-scripts-to-delete-rpath.patch Patch7: Fix-python3_version-macros-for-Python-3.10.patch -Patch10: 0001-update-config.guess-and-config.sub-for-loongarch64.patch +Patch10: 0001-update-config.guess-and-config.sub-for-loongarch64.patch +Patch11: 0001-openEuler-rpm-config-30-add-loongarch64-to-the-gener.patch Provides: python-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release} Provides: python2-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release} @@ -115,6 +116,9 @@ mkdir -p %{buildroot}%{_fileattrsdir} %{_rpmconfigdir}/macros.d/macros.kmp %changelog +* Thu May 19 2022 Huang Yang -30-25 +- Add loongarch64 to the generic_arches macro definition + * Tue Apr 26 12 2022 Wenlong Zhang -30-24 - update config.guess and config.sub for loongarch64