From a9758eaca11adee1d697b6c82cb210f47b0a9dd3 Mon Sep 17 00:00:00 2001 From: ebner Date: Thu, 2 Oct 2025 17:06:36 +0200 Subject: [PATCH] test1 --- .gitea/workflows/build_rhel9.yaml | 12 +++++++----- Pmodules_bash.spec | 7 ------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/build_rhel9.yaml b/.gitea/workflows/build_rhel9.yaml index 122164f..694afbb 100644 --- a/.gitea/workflows/build_rhel9.yaml +++ b/.gitea/workflows/build_rhel9.yaml @@ -20,17 +20,19 @@ jobs: - name: Build RPM run: | + mkdir SOURCES + # spectool -g -R Pmodules.spec # rpmbuild -ba Pmodules.spec # spectool -g -R Pmodules_modules.spec - # rpmbuild -ba Pmodules_modules.spec + curl -L -H "Authorization: token ${{ secrets.ACCESSKEY }}" -o SOURCES/modules-3.2.10.2.tar.gz "https://gitea.psi.ch/Pmodules/modules/archive/modules-3.2.10.2.tar.gz" + rpmbuild -ba Pmodules_modules.spec # spectool -g -R Pmodules_bash.spec - mkdir SOURCES - curl -L -H "Authorization: token ${{ secrets.ACCESSKEY }}" -o SOURCES/bash-5.2.37.tar.gz "https://gitea.psi.ch/Pmodules/bash/archive/bash-5.2.37.tar.gz" - dnf -y builddep Pmodules_bash.spec - rpmbuild -ba Pmodules_bash.spec + # curl -L -H "Authorization: token ${{ secrets.ACCESSKEY }}" -o SOURCES/bash-5.2.37.tar.gz "https://gitea.psi.ch/Pmodules/bash/archive/bash-5.2.37.tar.gz" + # dnf -y builddep Pmodules_bash.spec + # rpmbuild -ba Pmodules_bash.spec # list generated rpms find RPMS diff --git a/Pmodules_bash.spec b/Pmodules_bash.spec index 0fedafb..f8ae833 100644 --- a/Pmodules_bash.spec +++ b/Pmodules_bash.spec @@ -25,13 +25,6 @@ incorporates useful features from the Korn shell (ksh) and the C shell (csh). Most sh scripts can be run by bash without modification. %prep -token=${ACCESSKEY:-} -if [ -n "$token" ]; then - curl -L \ - -H "Authorization: token $token" \ - -o %{_topdir}/SOURCES/bash-%{version}.tar.gz \ - "https://gitea.psi.ch/Pmodules/bash/archive/bash-%{version}.tar.gz" -fi %setup -q -n bash-%{version} %build