fix build
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=341
This commit is contained in:
parent
9ef75d9338
commit
580c5e93e6
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