!10 [sync] PR-9: enable check while building
From: @openeuler-sync-bot Reviewed-by: @weidongkl Signed-off-by: @weidongkl
This commit is contained in:
commit
149acc5e25
14
libxcb.spec
14
libxcb.spec
@ -1,6 +1,6 @@
|
|||||||
Name: libxcb
|
Name: libxcb
|
||||||
Version: 1.14
|
Version: 1.14
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A C binding to the X11 protocol
|
Summary: A C binding to the X11 protocol
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://xcb.freedesktop.org/
|
URL: https://xcb.freedesktop.org/
|
||||||
@ -42,11 +42,15 @@ Man pages and other related documents for %{name}.
|
|||||||
sed -i 's/pthread-stubs //' configure.ac
|
sed -i 's/pthread-stubs //' configure.ac
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
%configure --docdir=%{_docdir}/%{name}-%{version} --enable-selinux \
|
%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
|
%disable_rpath
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
install -pm 644 COPYING NEWS README.md $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
|
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
|
%delete_la
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%check
|
|
||||||
make check
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_docdir}/%{name}-%{version}/COPYING
|
%{_docdir}/%{name}-%{version}/COPYING
|
||||||
@ -78,6 +79,9 @@ make check
|
|||||||
%exclude %{_docdir}/%{name}-%{version}/COPYING
|
%exclude %{_docdir}/%{name}-%{version}/COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 24 2022 yangcheng <yangcheng87@h-partners.com> - 1.14-2
|
||||||
|
- enable check while building
|
||||||
|
|
||||||
* Mon Jul 31 2020 chxssg<chxssg@qq.com> - 1.14-1
|
* Mon Jul 31 2020 chxssg<chxssg@qq.com> - 1.14-1
|
||||||
- update package to 1.14
|
- update package to 1.14
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user