diff --git a/libxcb.spec b/libxcb.spec index 8e391e5..99d2ff5 100644 --- a/libxcb.spec +++ b/libxcb.spec @@ -1,6 +1,6 @@ Name: libxcb Version: 1.14 -Release: 1 +Release: 2 Summary: A C binding to the X11 protocol License: MIT URL: https://xcb.freedesktop.org/ @@ -42,11 +42,15 @@ Man pages and other related documents for %{name}. sed -i 's/pthread-stubs //' configure.ac autoreconf -ivf %configure --docdir=%{_docdir}/%{name}-%{version} --enable-selinux \ - --enable-xkb --enable-xinput --disable-xprint --disable-silent-rules + --enable-xkb --enable-xinput --disable-xprint --disable-silent-rules \ + --enable-unit-tests %disable_rpath %make_build +%check +make check + %install %make_install install -pm 644 COPYING NEWS README.md $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} @@ -56,9 +60,6 @@ sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefi %delete_la %ldconfig_scriptlets -%check -make check - %files %defattr(-,root,root) %{_docdir}/%{name}-%{version}/COPYING @@ -78,6 +79,9 @@ make check %exclude %{_docdir}/%{name}-%{version}/COPYING %changelog +* Sun Apr 24 2022 yangcheng - 1.14-2 +- enable check while building + * Mon Jul 31 2020 chxssg - 1.14-1 - update package to 1.14