From de90fb1ecf745d4d63674ffd7f82382d3b6e322b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=96=87=E5=9F=B9?= Date: Fri, 13 Oct 2023 03:38:32 +0000 Subject: [PATCH] sync add loongarch64 and sw_64 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 周文培 (cherry picked from commit 79ef4d55596c44aef9b88993427f1ef9def48a67) --- openvswitch.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/openvswitch.spec b/openvswitch.spec index e2a40e3..4ed5980 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -1,12 +1,15 @@ # This is enabled by default for versions of the distribution that # have Python 3 by default. +%ifarch sw_64 +%define _binaries_in_noarch_packages_terminate_build 0 +%endif Name: openvswitch Summary: Production Quality, Multilayer Open Virtual Switch URL: http://www.openvswitch.org/ Version: 2.12.4 License: ASL 2.0 and ISC -Release: 4 +Release: 5 Source: https://www.openvswitch.org/releases/openvswitch-%{version}.tar.gz Buildroot: /tmp/openvswitch-rpm Patch0000: 0000-openvswitch-add-stack-protector-strong.patch @@ -57,6 +60,10 @@ Python bindings for the Open vSwitch database %prep %autosetup -p1 +%ifarch loongarch64 sw_64 +%_update_config_guess +%_update_config_sub +%endif %build autoreconf @@ -287,6 +294,9 @@ exit 0 %doc README.rst NEWS rhel/README.RHEL.rst %changelog +* Fri Oct 13 2023 zhouwenpei - 2.12.4-5 +- sync add loongarch64 and sw_64 support + * Sat Oct 07 2023 zhouwenpei - 2.12.4-4 - fix CVE-2023-5366 -- Gitee