enable unit test

(cherry picked from commit f51035bc9faffa374a55bac0c5a95efa14186a75)
This commit is contained in:
zhouwenpei 2023-09-08 08:46:18 +00:00 committed by openeuler-sync-bot
parent 264ff2d636
commit 2e098b8b88

View File

@ -16,7 +16,7 @@
Name: xorg-x11-server Name: xorg-x11-server
Version: 1.20.11 Version: 1.20.11
Release: 20 Release: 21
Summary: X.Org X11 X server Summary: X.Org X11 X server
License: MIT and GPLv2 License: MIT and GPLv2
URL: https://www.x.org URL: https://www.x.org
@ -121,6 +121,7 @@ BuildRequires: xorg-x11-font-utils >= 7.2 libselinux-devel >= 2.0.86
BuildRequires: libxshmfence-devel >= 1.1 pixman-devel >= 0.30.0 libdrm-devel >= 2.4.0 BuildRequires: libxshmfence-devel >= 1.1 pixman-devel >= 0.30.0 libdrm-devel >= 2.4.0
BuildRequires: mesa-libGL-devel >= 9.2 libpciaccess-devel >= 0.13.1 BuildRequires: mesa-libGL-devel >= 9.2 libpciaccess-devel >= 0.13.1
BuildRequires: wayland-devel wayland-protocols-devel egl-wayland-devel BuildRequires: wayland-devel wayland-protocols-devel egl-wayland-devel
BuildRequires: xorg-x11-xkb-utils xkeyboard-config
%ifarch aarch64 %{arm} x86_64 sw_64 %ifarch aarch64 %{arm} x86_64 sw_64
BuildRequires: libunwind-devel BuildRequires: libunwind-devel
@ -302,7 +303,7 @@ autoreconf -ivf || exit 1
--enable-xselinux --enable-record --enable-present \ --enable-xselinux --enable-record --enable-present \
--enable-xcsecurity \ --enable-xcsecurity \
--enable-config-udev \ --enable-config-udev \
--disable-unit-tests \ --enable-unit-tests \
--enable-dmx \ --enable-dmx \
--disable-xwayland \ --disable-xwayland \
%{dri_flags} %{?bodhi_flags} \ %{dri_flags} %{?bodhi_flags} \
@ -445,6 +446,9 @@ find %{inst_srcdir}/hw/xfree86 -name \*.c -delete
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Fri Sep 08 2023 zhouwenpei <zhouwenpei1@h-partners.com> -1.20.11-21
- enable unit test
* Fri May 26 2023 leeffo <liweiganga@uniontech.com> - 1.20.11-20 * Fri May 26 2023 leeffo <liweiganga@uniontech.com> - 1.20.11-20
- fix CVE-2022-3550 - fix CVE-2022-3550