forked from pool/talloc
Fix qemu userspace builds by disabling tests. AT_RANDOM does not change, so the magic tests fail
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/talloc?expand=0&rev=85
This commit is contained in:
parent
c99eb4f403
commit
1e84f5f89d
@ -94,8 +94,8 @@ This package includes the talloc2 library.
|
|||||||
|
|
||||||
%package -n libtalloc-devel
|
%package -n libtalloc-devel
|
||||||
Summary: Libraries and Header Files to Develop Programs with talloc2 Support
|
Summary: Libraries and Header Files to Develop Programs with talloc2 Support
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
# Man pages are built in a 2nd spec file in order to break a build cycle with doxygen->cmake->krb5->libtalloc
|
# Man pages are built in a 2nd spec file in order to break a build cycle with doxygen->cmake->krb5->libtalloc
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
%if 0%{?suse_version} > 1030
|
%if 0%{?suse_version} > 1030
|
||||||
Recommends: %{name}-man
|
Recommends: %{name}-man
|
||||||
%endif
|
%endif
|
||||||
|
@ -94,8 +94,8 @@ This package includes the talloc2 library.
|
|||||||
|
|
||||||
%package -n libtalloc-devel
|
%package -n libtalloc-devel
|
||||||
Summary: Libraries and Header Files to Develop Programs with talloc2 Support
|
Summary: Libraries and Header Files to Develop Programs with talloc2 Support
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
# Man pages are built in a 2nd spec file in order to break a build cycle with doxygen->cmake->krb5->libtalloc
|
# Man pages are built in a 2nd spec file in order to break a build cycle with doxygen->cmake->krb5->libtalloc
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
%if 0%{?suse_version} > 1030
|
%if 0%{?suse_version} > 1030
|
||||||
Recommends: %{name}-man
|
Recommends: %{name}-man
|
||||||
%endif
|
%endif
|
||||||
@ -210,9 +210,13 @@ doxygen doxy.config
|
|||||||
%if ! %{build_man}
|
%if ! %{build_man}
|
||||||
%check
|
%check
|
||||||
%if 0%{?suse_version} != 1110 || "%{_build_arch}" == x86_64
|
%if 0%{?suse_version} != 1110 || "%{_build_arch}" == x86_64
|
||||||
|
%if "%{qemu_user_space_build}" == "1"
|
||||||
|
echo "skipping test on qemu userspace build due to AT_RANDOM not changing"
|
||||||
|
%else # qemu_user_space_build == 1
|
||||||
mkdir lib/talloc
|
mkdir lib/talloc
|
||||||
ln test_magic_differs* lib/talloc/
|
ln test_magic_differs* lib/talloc/
|
||||||
LD_LIBRARY_PATH=bin/shared %{__make} test
|
LD_LIBRARY_PATH=bin/shared %{__make} test
|
||||||
|
%endif # qemu_user_space_build == 1
|
||||||
%endif # suse_version != 1110; fails for i586 and ppc64
|
%endif # suse_version != 1110; fails for i586 and ppc64
|
||||||
%endif # ! build_man
|
%endif # ! build_man
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user