diff --git a/openvswitch.spec b/openvswitch.spec index e2a40e384393d46478c431ca96768162a6c78d4e..4ed5980fe66ca7fa75603de7258b9b3216955d39 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