Skip to content

fix: simplify COPR workflow and fix make install#764

Open
dacrab wants to merge 1 commit into
MalpenZibo:mainfrom
dacrab:fix/copr-workflow-and-makefile
Open

fix: simplify COPR workflow and fix make install#764
dacrab wants to merge 1 commit into
MalpenZibo:mainfrom
dacrab:fix/copr-workflow-and-makefile

Conversation

@dacrab
Copy link
Copy Markdown
Contributor

@dacrab dacrab commented May 21, 2026

Summary

  • COPR workflow: Remove chroot selection logic. copr-cli build without -r flags automatically builds for all chroots enabled in the COPR project, so chroot management is done via project settings (or copr-cli modify) rather than hardcoded in CI.
  • Build deps: Add missing build dependencies (pipewire-devel, wayland-devel, clang-devel, etc.) that are required for the SRPM build to succeed.
  • Makefile install: Replace sudo cp -f with install -Dm755 and support DESTDIR/PREFIX variables for proper packaging integration.

Changes

File Change
.github/workflows/copr-build.yml Remove workflow_dispatch chroots input, add build deps, simplify build step
Makefile Use install -Dm755 with DESTDIR/PREFIX support

Notes

The COPR_CONFIG secret still needs to be configured in the repository for the workflow to submit builds. Without it, the workflow builds the SRPM but skips the COPR submission (existing behavior).

- Remove chroot selection logic from COPR workflow; copr-cli build
  without -r automatically targets all project-enabled chroots
- Add missing build dependencies (pipewire, wayland, clang, etc.)
- Remove workflow_dispatch chroots input (manage chroots via COPR project settings)
- Fix Makefile install: use install -Dm755 with DESTDIR/PREFIX support
  instead of sudo cp
@github-actions github-actions Bot added the bug Something isn't working label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant