Drop the optional disable-static, it's been disabled for years now.

This commit is contained in:
Peter Hutterer 2016-01-05 07:36:34 +10:00
parent 8277c5234f
commit b1b371fffa

View File

@ -44,15 +44,10 @@ X.Org X11 libXi development package
%prep
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
# Disable static library creation by default.
%define with_static 0
%build
autoreconf -v --install || exit 1
%configure --disable-specs \
%if ! %{with_static}
--disable-static
%endif
--disable-static
make %{?_smp_mflags}
@ -78,9 +73,6 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root,-)
%if %{with_static}
%{_libdir}/libXi.a
%endif
%{_includedir}/X11/extensions/XInput.h
%{_includedir}/X11/extensions/XInput2.h
%{_libdir}/libXi.so
@ -88,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*.3*
%changelog
* Tue Jan 05 2016 Peter Hutterer <peter.hutterer@redhat.com>
- Drop the optional disable-static, it's been disabled for years now.
* Tue Dec 22 2015 Peter Hutterer <peter.hutterer@redhat.com> 1.7.6-1
- libXi 1.7.6
- drop unused mandir creation