Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
23 changes: 23 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
specfile_path: edd.spec
synced_files:
- edd.spec
- .packit.yaml

downstream_package_name: edd
upstream_package_name: edd

current_version_command: ["make", "packit-version"]

actions:
create-archive:
- make packit-tarball
- make packit-path

jobs:
- job: copr_build
metadata:
targets:
- fedora-30-x86_64
- fedora-31-x86_64
- fedora-rawhide-x86_64
trigger: pull_request
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,13 @@ push: packages
$(TMP)/SOURCES/$(PACKAGE).tar.bz2 \
$(PUSH_URL)/download

# Packit stuff
packit-tarball: tarball
mv $(TMP)/SOURCES/$(PACKAGE).tar.bz2 .
packit-path:
@printf "$(PACKAGE).tar.bz2"
packit-version:
@printf "$(VERSION)"

clean:
rm -rf $(TMP)