rpm -q acts strangely on copr EPEL6. Make sure it doesn't break the build.

This commit is contained in:
Mark Wielaard 2017-06-17 15:21:48 +02:00
parent df3b58e7d0
commit d4079c5340

View File

@ -320,10 +320,12 @@ chmod 644 $RPM_BUILD_ROOT%{_libdir}/valgrind/vgpreload*-%{valarch}-*so
%check
# Make sure some info about the system is in the build.log
# Add || true because rpm on copr EPEL6 acts weirdly and we don't want
# to break the build.
uname -a
rpm -q glibc gcc %{?scl_prefix}binutils
rpm -q glibc gcc %{?scl_prefix}binutils || true
%if %{run_full_regtest}
rpm -q %{?scl_prefix}gdb
rpm -q %{?scl_prefix}gdb || true
%endif
LD_SHOW_AUXV=1 /bin/true