!64 revent disable static library

From: @zhouwenpei 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2024-02-07 06:11:46 +00:00 committed by Gitee
commit 7d11bec62c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libX11 Name: libX11
Version: 1.8.7 Version: 1.8.7
Release: 1 Release: 2
Summary: Core X11 protocol client library Summary: Core X11 protocol client library
License: MIT License: MIT
URL: http://www.x.org URL: http://www.x.org
@ -36,9 +36,9 @@ The %{name}-devel package contains libraries and header files for %{name}.
%build %build
autoreconf -ivf autoreconf -ivf
%if 0%{?build_cross} == 1 %if 0%{?build_cross} == 1
%configure --disable-silent-rules --enable-malloc0returnsnull --disable-static %configure --disable-silent-rules --enable-malloc0returnsnull
%else %else
%configure --disable-silent-rules --disable-static %configure --disable-silent-rules
%endif %endif
%make_build %make_build
@ -66,6 +66,7 @@ make %{?_smp_mflags} check
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.so %{_libdir}/*.so
%{_includedir}/X11/*.h %{_includedir}/X11/*.h
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
@ -77,6 +78,9 @@ make %{?_smp_mflags} check
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Mon Feb 05 2024 zhouwenpei <zhouwenpei1@h-partners.com> - 1.8.7-2
- revent "disable static library"
* Wed Oct 04 2023 Funda Wang <fundawang@yeah.net> - 1.8.7-1 * Wed Oct 04 2023 Funda Wang <fundawang@yeah.net> - 1.8.7-1
- update to 1.8.7 - update to 1.8.7
- merge sw64 patch - merge sw64 patch