This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user