revent disable static library

This commit is contained in:
zhouwenpei 2024-02-05 09:40:22 +00:00
parent 97f3f4247f
commit 572ff27d71

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