diff --git a/.gitignore b/.gitignore index 71e23616..b52aa476 100644 --- a/.gitignore +++ b/.gitignore @@ -139,3 +139,8 @@ dmypy.json # Pyre type checker .pyre/ + +# Packit +/httpie.spec +/httpie-*.rpm +/httpie-*.tar.gz diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 00000000..c318e876 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,19 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ +specfile_path: httpie.spec +actions: + # the current Fedora Rawhide specfile has some patches + # so we get it from @hroncok's (= churchyard in Fedora) fork for now + # once we have a new release, we'll use: https://src.fedoraproject.org/rpms/httpie/raw/rawhide/f/httpie.spec + post-upstream-clone: "wget https://src.fedoraproject.org/fork/churchyard/rpms/httpie/raw/packit/f/httpie.spec -O httpie.spec" +jobs: +- job: copr_build + trigger: pull_request + metadata: + targets: + - fedora-all +- job: propose_downstream + trigger: release + metadata: + dist_git_branches: + - rawhide