commit 381bbc1906744ed9464d8764248e0a866068a835 parent 311d6d522ae8558f683cac2914bc9334ce80d8df Author: Devan Carpenter <git@dvn.me> Date: Sat, 30 Nov 2019 23:16:31 -0800 ci: run relative to the rpmbuild Diffstat:
| M | .gitlab-ci.yml | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -7,7 +7,8 @@ build: before_script: - dnf install -y rpm-build rpmdevtools script: - - rpmbuild -bs ./rpmbuild/SPECS/gnunet.spec - - rpmbuild --rebuild ./rpmbuild/SRPMS/gnunet-$(cat ./rpmbuild/SPECS/gnunet.spec | grep Version | awk '{ print $2 }')-$(rpm --eval %{?dist}).src.rpm - - dnf install -y ./rpmbuild/SRPMS/gnunet-$(cat ./rpmbuild/SPECS/gnunet.spec | grep Version | awk '{ print $2 }')-$(rpm --eval %{?dist}).src.rpm + - cd ./rpmbuild + - rpmbuild -bs ./SPECS/gnunet.spec + - rpmbuild --rebuild ./SRPMS/gnunet-$(cat ./rpmbuild/SPECS/gnunet.spec | grep Version | awk '{ print $2 }')-$(rpm --eval %{?dist}).src.rpm + - dnf install -y ./SRPMS/gnunet-$(cat ./rpmbuild/SPECS/gnunet.spec | grep Version | awk '{ print $2 }')-$(rpm --eval %{?dist}).src.rpm