disable static library

Signed-off-by: kerongw <wangkerong@h-partners.com>
This commit is contained in:
kerongw 2022-11-07 01:53:16 +00:00 committed by Gitee
parent a9d1ca50d2
commit e67857d09f
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.7.2 Version: 1.7.2
Release: 4 Release: 5
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
@ -38,7 +38,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
@ -65,7 +65,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
@ -77,6 +76,9 @@ make %{?_smp_mflags} check
%{_mandir}/*/* %{_mandir}/*/*
%changelog %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 * Mon Oct 24 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.7.2-4
- fix CVE-2022-3554,CVE-2022-3555 - fix CVE-2022-3554,CVE-2022-3555