disable static library

Signed-off-by: kerongw <wangkerong@h-partners.com>
This commit is contained in:
kerongw 2022-11-04 07:50:12 +00:00 committed by Gitee
parent dda6c6694b
commit 94f168a73c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libXrandr Name: libXrandr
Version: 1.5.2 Version: 1.5.2
Release: 2 Release: 3
License: MIT License: MIT
Summary: X.Org X11 libXrandr runtime library Summary: X.Org X11 libXrandr runtime library
URL: https://www.x.org URL: https://www.x.org
@ -28,7 +28,7 @@ The %{name}-devel package contains libraries and header files for %{name}.
%build %build
autoreconf -ivf autoreconf -ivf
%configure %configure --disable-static
%make_build %make_build
%install %install
@ -47,7 +47,6 @@ autoreconf -ivf
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/X11/extensions/*.h %{_includedir}/X11/extensions/*.h
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%files help %files help
@ -55,6 +54,9 @@ autoreconf -ivf
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Fri Nov 04 2022 wangkerong <wangkerong@h-partners.com> - 1.5.2-3
- disable static library
* Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.2-2 * Wed Oct 26 2022 zhouwenpei <zhouwenpei1@h-partners.com> - 1.5.2-2
- Rebuild for next release - Rebuild for next release