summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Bolognani <abologna@redhat.com>2020-06-17 20:29:14 +0200
committerAndrea Bolognani <abologna@redhat.com>2020-06-17 20:29:14 +0200
commit87379eacf0a0574163f581319ac2ad089c156e28 (patch)
treeeb975f840c67c410e25e92d4b5019991f5f06a52
parente52a1323ec8bc3e2218ccd4c1e40974e4b20ccbc (diff)
downloadlibosinfo-87379eacf0a0574163f581319ac2ad089c156e28.tar.gz
ci: Simplify rpmbuild command
We don't have to worry about cleaning up after ourselves, since we're running the build inside an ephemeral container. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
-rw-r--r--.gitlab-ci.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4d4638e..d8ca12c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -90,9 +90,8 @@ stages:
fi
pushd .
cd build
- sed -i -e 's/BuildRequires: *osinfo-db.*//' *.spec*
$NINJA dist
- rpmbuild --clean --define "_topdir `pwd`/rpmbuild" -ta meson-dist/*.tar.xz
+ rpmbuild --nodeps -ta meson-dist/*.tar.xz
popd
.libosinfo-mingw-build: &libosinfo-mingw-build |