Compare commits

..

4 Commits

Author SHA1 Message Date
4e2c5b28e1 Add line to install build dependencies from specfile
Some checks failed
Build hyprwayland-scanner / Build and push image (push) Failing after 41s
2025-11-29 19:17:36 -05:00
2211488b8d Use z for permissions and move entrypoint to root home. Also set
workspace to root home
2025-11-29 18:56:26 -05:00
6494ee0084 Use env bash instead of sh 2025-11-29 18:55:17 -05:00
c019d99d46 Make sure to just ignore rpmbuild local in case 2025-11-29 18:54:39 -05:00
3 changed files with 8 additions and 4 deletions

View File

@@ -34,10 +34,11 @@ jobs:
shell: bash
run: |
podman run --rm \
-v ${GITEA_WORKSPACE}/rpmbuild:/root/rpmbuild:rw \
-v ./entrypoint.sh:/entrypoint.sh \
-v ./rpmbuild:/root/rpmbuild:rw,z \
-v ./entrypoint.sh:/root/entrypoint.sh:ro,z \
-w /root \
fedora:latest \
/entrypoint.sh /root/rpmbuild/SPECS/hyprwayland-scanner.spec
/root/entrypoint.sh /root/rpmbuild/SPECS/hyprwayland-scanner.spec
- name: List everything
shell: bash

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
rpmbuild

4
entrypoint.sh Normal file → Executable file
View File

@@ -1,7 +1,9 @@
#!/bin/sh -l
#!/usr/bin/env bash
dnf -y install rpmdevtools
rpmdev-setuptree
dnf -y builddep $1
rpmdev-spectool -g -C ~/rpmbuild/SOURCES $1
rpmbuild --nodebuginfo --bb $1