From 572ff27d71ed718d70569c1320b0ff5e7ee626a9 Mon Sep 17 00:00:00 2001 From: zhouwenpei Date: Mon, 5 Feb 2024 09:40:22 +0000 Subject: [PATCH] revent disable static library --- libX11.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libX11.spec b/libX11.spec index 1cf545b..9cf211c 100644 --- a/libX11.spec +++ b/libX11.spec @@ -1,6 +1,6 @@ Name: libX11 Version: 1.8.7 -Release: 1 +Release: 2 Summary: Core X11 protocol client library License: MIT URL: http://www.x.org @@ -36,9 +36,9 @@ The %{name}-devel package contains libraries and header files for %{name}. %build autoreconf -ivf %if 0%{?build_cross} == 1 -%configure --disable-silent-rules --enable-malloc0returnsnull --disable-static +%configure --disable-silent-rules --enable-malloc0returnsnull %else -%configure --disable-silent-rules --disable-static +%configure --disable-silent-rules %endif %make_build @@ -66,6 +66,7 @@ make %{?_smp_mflags} check %files devel %defattr(-,root,root) +%{_libdir}/*.a %{_libdir}/*.so %{_includedir}/X11/*.h %{_libdir}/pkgconfig/*.pc @@ -77,6 +78,9 @@ make %{?_smp_mflags} check %{_mandir}/*/* %changelog +* Mon Feb 05 2024 zhouwenpei - 1.8.7-2 +- revent "disable static library" + * Wed Oct 04 2023 Funda Wang - 1.8.7-1 - update to 1.8.7 - merge sw64 patch -- Gitee