Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable copr builds and add packit config #10

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
specfile_path: edd.spec

actions:
create-archive:
- make tarball

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me locally on the packit master. Let's wait for the redeploy.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Looking forward :)


jobs:
- job: copr_build
metadata:
targets:
- fedora-all
trigger: pull_request
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ build:

tarball: build
cd $(TMP) && tar cfj SOURCES/$(PACKAGE).tar.bz2 $(PACKAGE)
@printf "$(shell realpath $(TMP)/SOURCES/$(PACKAGE).tar.bz2)\n"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the problem here is that the path is absolute - it should ideally be relative within the project

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this the same issue as teemtee/tmt/pull/249. I've tried relative path there as well but it did not help.


rpm: tarball
rpmbuild --define '_topdir $(TMP)' -bb edd.spec
Expand Down