From 43f7601c3260cab6a903952ed90ffd709f28943e Mon Sep 17 00:00:00 2001 From: xiewenhao Date: Fri, 2 Dec 2022 15:22:50 +0800 Subject: [PATCH] add arguments in %build to fix SP files situation --- libX11.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libX11.spec b/libX11.spec index 323763b..c8242fd 100644 --- a/libX11.spec +++ b/libX11.spec @@ -1,6 +1,6 @@ Name: libX11 Version: 1.6.9 -Release: 6 +Release: 7 Summary: Core X11 protocol client library License: MIT URL: http://www.x.org @@ -39,6 +39,8 @@ The %{name}-devel package contains libraries and header files for %{name}. %autosetup -n %{name}-%{version} -p1 %build +RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fstack-protector-all -ftrapv" +export RPM_OPT_FLAGS autoreconf -ivf %configure --disable-silent-rules %make_build @@ -79,6 +81,9 @@ make %{?_smp_mflags} check %{_mandir}/*/* %changelog +* Fri Dec 2 2022 xiewenhao - 1.6.9-7 +- add arguments in %build to fix SP files situation + * Mon Oct 24 2022 zhouwenpei - 1.6.9-6 - fix CVE-2022-3554,CVE-2022-3555 -- Gitee