enable unit test

This commit is contained in:
zhouwenpei 2023-09-07 02:38:57 +00:00
parent 50d7d73bc2
commit 7ece1eaf57

View File

@ -16,7 +16,7 @@
Name: xorg-x11-server
Version: 1.20.11
Release: 20
Release: 21
Summary: X.Org X11 X server
License: MIT and GPLv2
URL: https://www.x.org
@ -123,6 +123,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: mesa-libGL-devel >= 9.2 libpciaccess-devel >= 0.13.1
BuildRequires: wayland-devel wayland-protocols-devel egl-wayland-devel
BuildRequires: xorg-x11-xkb-utils xkeyboard-config
%ifarch aarch64 %{arm} x86_64 sw_64
BuildRequires: libunwind-devel
@ -304,7 +305,7 @@ autoreconf -ivf || exit 1
--enable-xselinux --enable-record --enable-present \
--enable-xcsecurity \
--enable-config-udev \
--disable-unit-tests \
--enable-unit-tests \
--enable-dmx \
--disable-xwayland \
%{dri_flags} %{?bodhi_flags} \
@ -447,6 +448,9 @@ find %{inst_srcdir}/hw/xfree86 -name \*.c -delete
%{_mandir}/man*/*
%changelog
* Thu Sep 07 2023 zhouwenpei <zhouwenpei1@h-partners.com> -1.20.11-21
- enable unit test
* Thu Jul 13 2023 leeffo <liweiganga@uniontech.com> -1.20.11-20
- Fix build with gcc 12