@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user