From 504c6137f80e53cc3db61b2e57991eb52eca245b Mon Sep 17 00:00:00 2001 From: mulhern Date: Sun, 25 Jan 2026 20:59:19 -0500 Subject: [PATCH] Add packit configuration Signed-off-by: mulhern --- .packit.yaml | 37 +++++++++++++++++++++++++++++++++++++ Makefile | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 .packit.yaml diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..a565294 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,37 @@ +--- + +# yamllint disable rule:line-length +upstream_project_url: https://github.com/stratis-storage/dbus-python-client-gen + +specfile_path: ../distro/python-dbus-python-client-gen.spec +merge_pr_in_ci: false +downstream_package_name: python-dbus-python-client-gen + +actions: + post-upstream-clone: + - "mkdir ../distro" + - "bash -c '(cd ../distro; wget https://src.fedoraproject.org/rpms/python-dbus-python-client-gen/raw/rawhide/f/python-dbus-python-client-gen.spec)'" + get-current-version: + - "python3 setup.py --version" + +srpm_build_deps: + - wget2 + - wget2-wget + +jobs: + - job: copr_build + trigger: pull_request + identifier: copr_pull + targets: + - fedora-all + + - job: copr_build + trigger: commit + identifier: copr_commit + preserve_project: true + targets: + - fedora-all + +notifications: + pull_request: + successful_build: true diff --git a/Makefile b/Makefile index 8702104..f1055c6 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ view: .PHONY: yamllint yamllint: - yamllint --strict .github/workflows/main.yml + yamllint --strict .packit.yaml .github/workflows/main.yml .PHONY: package package: