-
Notifications
You must be signed in to change notification settings - Fork 8
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
specfile_path: edd.spec | ||
|
||
actions: | ||
create-archive: | ||
- make tarball | ||
|
||
jobs: | ||
- job: copr_build | ||
metadata: | ||
targets: | ||
- fedora-all | ||
trigger: pull_request |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 | ||
|
There was a problem hiding this comment.
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.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Looking forward :)