disable static library

Signed-off-by: kerongw <wangkerong@h-partners.com>
(cherry picked from commit 94f168a73cb7a7dfe6128eaef849e2bc3a4f7a10)
This commit is contained in:
kerongw 2022-11-04 07:50:12 +00:00 committed by openeuler-sync-bot
parent 6a5efcd5c1
commit 54246a3724

View File

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