diff options
author | Arnstein Ressem <aressem@yahooinc.com> | 2023-03-08 23:01:14 +0100 |
---|---|---|
committer | Arnstein Ressem <aressem@yahooinc.com> | 2023-03-08 23:01:14 +0100 |
commit | 7ce4465ca4ab27e7ef1ef54d07820787f5b89ace (patch) | |
tree | 35dcf373be3eff5f81f1ae09e6fe2b721ea3e107 /dist | |
parent | 3aedb80196984cfd8cf8c9c62c7fa004af517e0e (diff) |
Install python39-pip and only run tests if explicitly requested for now.
Diffstat (limited to 'dist')
-rw-r--r-- | dist/vespa.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec index 5ddeab3b63c..79778d6028d 100644 --- a/dist/vespa.spec +++ b/dist/vespa.spec @@ -55,6 +55,7 @@ BuildRequires: maven BuildRequires: maven-openjdk17 BuildRequires: vespa-pybind11-devel BuildRequires: python39-devel +BuildRequires: python39-pip BuildRequires: glibc-langpack-en %endif %if 0%{?el9} @@ -466,6 +467,7 @@ VERSION=%{version} CI=true make -C client/go install-all %check %if ! 0%{?installdir:1} +%if 0%{?_run_unit_tests:1} %if 0%{?_java_home:1} export JAVA_HOME=%{?_java_home} %else @@ -479,6 +481,7 @@ export PYTHONPATH="$PYTHONPATH:/usr/local/lib/$(basename $(readlink -f $(which p #%{?_use_mvn_wrapper:./mvnw}%{!?_use_mvn_wrapper:mvn} --batch-mode -nsu -T 1C -Dmaven.javadoc.skip=true test make test ARGS="--output-on-failure %{_smp_mflags}" %endif +%endif %install rm -rf %{buildroot} |