diff --git a/.gitea/workflows/build_rhel9.yaml b/.gitea/workflows/build_rhel9.yaml index 3a9b8bb..66cc7d7 100644 --- a/.gitea/workflows/build_rhel9.yaml +++ b/.gitea/workflows/build_rhel9.yaml @@ -30,7 +30,7 @@ jobs: export ACCESSTOKEN=${{ secrets.ACCESSTOKEN }} curl -L \ -H "Authorization: token ${{ secrets.ACCESSTOKEN }}" \ - -o %{_topdir}/SOURCES/bash-5.2.37.tar.gz \ + -o SOURCES/bash-5.2.37.tar.gz \ "https://gitea.psi.ch/Pmodules/bash/archive/bash-5.2.37.tar.gz" rpmbuild -ba Pmodules_bash.spec diff --git a/Pmodules_bash.spec b/Pmodules_bash.spec index 21392cd..2c87996 100644 --- a/Pmodules_bash.spec +++ b/Pmodules_bash.spec @@ -30,7 +30,7 @@ token=${ACCESSTOKEN:-} if [ -n "$token" ]; then curl -L \ -H "Authorization: token $token" \ - -o SOURCES/bash-%{version}.tar.gz \ + -o %{_topdir}/SOURCES/bash-%{version}.tar.gz \ "https://gitea.psi.ch/Pmodules/bash/archive/bash-%{version}.tar.gz" fi %setup -q -n bash-%{version}