diff --git a/libXfixes.spec b/libXfixes.spec index 46468a3..39c46b8 100644 --- a/libXfixes.spec +++ b/libXfixes.spec @@ -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 - 6.0.0-2 +- disable static library by default + * Wed Dec 1 2021 dongyuzhen - 6.0.0-1 - update to 6.0.0