test
Build and Publish RPM / build-and-publish (push) Failing after 1s

This commit is contained in:
2025-10-02 16:34:25 +02:00
parent e3e75b08c8
commit 758b9fb17c
3 changed files with 12 additions and 5 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ jobs:
- name: Build RPM
run: |
spectool -g -R Pmodules.spec
rpmbuild -ba Pmodules.spec
# spectool -g -R Pmodules.spec
# rpmbuild -ba Pmodules.spec
# spectool -g -R Pmodules_modules.spec
# rpmbuild -ba Pmodules_modules.spec
+3 -3
View File
@@ -20,14 +20,14 @@ jobs:
- name: Build RPM
run: |
spectool -g -R Pmodules.spec
rpmbuild -ba Pmodules.spec
# spectool -g -R Pmodules.spec
# rpmbuild -ba Pmodules.spec
# spectool -g -R Pmodules_modules.spec
# rpmbuild -ba Pmodules_modules.spec
# spectool -g -R Pmodules_bash.spec
# rpmbuild -ba Pmodules_bash.spec
rpmbuild -ba Pmodules_bash.spec
# list generated rpms
find RPMS
+7
View File
@@ -25,6 +25,13 @@ 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=${ACCESSTOKEN:-}
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