From da03a0656e915ac38044decb7684d3ef8945def5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 9 Jun 2021 17:18:27 +0200 Subject: [PATCH] Add a Packit configuration for Fedora packaging (#1086) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add Packit configuration for Fedora packaging - all pull requests are build-tested in https://copr.fedorainfracloud.org - new releases will create pull requests in https://src.fedoraproject.org/rpms/httpie Co-authored-by: Mickaƫl Schoentgen --- .gitignore | 5 +++++ .packit.yaml | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .packit.yaml 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