!35 【轻量级 PR】:disable static library

From: @kerongw 
Reviewed-by: @t_feng 
Signed-off-by: @t_feng
This commit is contained in:
openeuler-ci-bot 2022-11-07 01:33:33 +00:00 committed by Gitee
commit 0651d69d70
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.1 Version: 1.8.1
Release: 2 Release: 3
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
@ -35,7 +35,7 @@ The %{name}-devel package contains libraries and header files for %{name}.
%build %build
autoreconf -ivf autoreconf -ivf
%configure --disable-silent-rules %configure --disable-silent-rules --disable-static
%make_build %make_build
%install %install
@ -62,7 +62,6 @@ 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
@ -74,6 +73,9 @@ make %{?_smp_mflags} check
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Fri Nov 04 2022 wangkerong <wangkerong@h-partners.com> - 1.8.1-3
- disable static library
* Mon Oct 24 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.8.1-2 * Mon Oct 24 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.8.1-2
- fix CVE-2022-3554 - fix CVE-2022-3554