forked from pool/build
fix build
Rev openSUSE:Tools/341 Md5 10109cea3310d35ef7d285621a8600e9 2017-11-23 08:19:17 adrianSuSE None
This commit is contained in:
parent
2a55c04729
commit
e5adb64f54
10
build.spec
10
build.spec
@ -27,13 +27,7 @@ Release: 0
|
|||||||
Source: obs-build-%{version}.tar.gz
|
Source: obs-build-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# mkbaselibs is pulled in by prjconf, but since we only build it here, does not exist when bootstrapping
|
#!BuildIgnore: build-mkbaselibs build-mkbaselibs-sle
|
||||||
#!BuildIgnore: build-mkbaselibs
|
|
||||||
%if 0%{?suse_version} > 1200
|
|
||||||
# required for test suite
|
|
||||||
#!BuildIgnore: build-mkbaselibs-sle
|
|
||||||
BuildRequires: build-mkbaselibs
|
|
||||||
%endif
|
|
||||||
# Keep the following dependencies in sync with obs-worker package
|
# Keep the following dependencies in sync with obs-worker package
|
||||||
Requires: bash
|
Requires: bash
|
||||||
Requires: binutils
|
Requires: binutils
|
||||||
@ -209,6 +203,8 @@ echo "test suite is not prepared to run using qemu linux user"
|
|||||||
echo "Skipping test case"
|
echo "Skipping test case"
|
||||||
exit 0
|
exit 0
|
||||||
%endif
|
%endif
|
||||||
|
# we need to patch the not packaged configs, due to the buildignore
|
||||||
|
sed -i 's,build-mkbaselibs,,' ../configs/*.conf
|
||||||
./testbuild.sh /.build.binaries/
|
./testbuild.sh /.build.binaries/
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user