!169 [sync] PR-168: 【轻量级 PR】:sync add loongarch64 and sw_64 support

From: @openeuler-sync-bot 
Reviewed-by: @sunsuwan 
Signed-off-by: @sunsuwan
This commit is contained in:
openeuler-ci-bot 2023-10-13 08:38:42 +00:00 committed by Gitee
commit 15046ac5c0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <zhouwenpei1@h-partners.com.cn> - 2.12.4-5
- sync add loongarch64 and sw_64 support
* Sat Oct 07 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 2.12.4-4
- fix CVE-2023-5366