sync add loongarch64 and sw_64 support

Signed-off-by: 周文培 <zhouwenpei050@chinasoftinc.com>
(cherry picked from commit 79ef4d55596c44aef9b88993427f1ef9def48a67)
This commit is contained in:
周文培 2023-10-13 03:38:32 +00:00 committed by openeuler-sync-bot
parent 3cf6929bd1
commit de90fb1ecf

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