!38 【轻量级 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 02:07:05 +00:00 committed by Gitee
commit dad9ff5480
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libX11
Version: 1.7.2
Release: 4
Release: 5
Summary: Core X11 protocol client library
License: MIT
URL: http://www.x.org
@ -38,7 +38,7 @@ The %{name}-devel package contains libraries and header files for %{name}.
%build
autoreconf -ivf
%configure --disable-silent-rules
%configure --disable-silent-rules --disable-static
%make_build
%install
@ -65,7 +65,6 @@ make %{?_smp_mflags} check
%files devel
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.so
%{_includedir}/X11/*.h
%{_libdir}/pkgconfig/*.pc
@ -77,6 +76,9 @@ make %{?_smp_mflags} check
%{_mandir}/*/*
%changelog
* Fri Nov 04 2022 wangkerong <wangkerong@h-partners.com> - 1.7.2-5
- disable static library
* Mon Oct 24 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.7.2-4
- fix CVE-2022-3554,CVE-2022-3555