From d319c6e52cab30486a2ade71e65048c5f1fe814d Mon Sep 17 00:00:00 2001 From: Vincent Mihalkovic Date: Tue, 8 Nov 2022 15:16:48 +0000 Subject: Integration and config for Packit service --- .packit.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .packit.yaml diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..95f20a4 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,25 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ + +specfile_path: polkit.spec + +# add or remove files that should be synced +files_to_sync: + - polkit.spec + - .packit.yaml + +# name in upstream package repository or registry (e.g. in PyPI) +upstream_package_name: polkit +# downstream (Fedora) RPM package name +downstream_package_name: polkit + +actions: + post-upstream-clone: + - "wget https://src.fedoraproject.org/rpms/polkit/raw/rawhide/f/polkit.spec -O polkit.spec" + - "sed -ri '/^Patch[0-9]+/d' polkit.spec" + +jobs: +- job: copr_build + trigger: pull_request + targets: + - fedora-all -- cgit v1.2.1