!5 [sync] PR-4: 【轻量级 PR】:disable static library by default
From: @openeuler-sync-bot Reviewed-by: @t_feng Signed-off-by: @t_feng
This commit is contained in:
commit
a21008426b
@ -1,6 +1,8 @@
|
||||
%bcond_without static
|
||||
|
||||
Name: libXfixes
|
||||
Version: 6.0.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: X11 miscellaneous "fixes" extension library
|
||||
License: MIT
|
||||
URL: https://xorg.freedesktop.org/
|
||||
@ -27,7 +29,10 @@ developing applications that use %{name}.
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure \
|
||||
%if %{with static}
|
||||
--disable-static
|
||||
%endif
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -46,7 +51,9 @@ developing applications that use %{name}.
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/X11/extensions/Xfixes.h
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%if %{without static}
|
||||
%{_libdir}/*.a
|
||||
%endif
|
||||
%{_libdir}/libXfixes.so
|
||||
|
||||
%files help
|
||||
@ -54,6 +61,9 @@ developing applications that use %{name}.
|
||||
%{_mandir}/man3/Xfixes.3.gz
|
||||
|
||||
%changelog
|
||||
* Sat Oct 22 2022 wangkerong <wangkerong@h-partners.com> - 6.0.0-2
|
||||
- disable static library by default
|
||||
|
||||
* Wed Dec 1 2021 dongyuzhen <dongyuzhen@huawei.com> - 6.0.0-1
|
||||
- update to 6.0.0
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user