enable check while building
(cherry picked from commit e8efc36f57388d5e626a51cd3ea7b205f4ce27f5)
This commit is contained in:
parent
eba49e92b0
commit
1a91e12696
14
libxcb.spec
14
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 <yangcheng87@h-partners.com> - 1.14-2
|
||||
- enable check while building
|
||||
|
||||
* Mon Jul 31 2020 chxssg<chxssg@qq.com> - 1.14-1
|
||||
- update package to 1.14
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user