From 27a94ea83ce25f376d74026cdba20171b7ba0c33 Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Tue, 7 Mar 2023 13:18:00 +0100 Subject: [PATCH] ci: Add Packit configuration for RPM builds on PRs --- .packit.yaml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .packit.yaml diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000000..41574b86cb --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,54 @@ +actions: + create-archive: + - './autogen.sh --enable-modules' + - 'make' + - 'make dist' + - 'bash -c "ls *.tar*"' + +jobs: +- job: copr_build + owner: "@storage" + project: udisks-pr + branch: master + preserve_project: true + trigger: pull_request + additional_repos: + - "copr://@storage/udisks-daily" + +srpm_build_deps: + - gcc + - make + - libtool + - autoconf + - automake + - glib2-devel + - gobject-introspection-devel + - libgudev1-devel + - libatasmart-devel + - polkit-devel + - systemd + - systemd-devel + - systemd-rpm-macros + - libacl-devel + - chrpath + - gtk-doc + - gettext-devel + - redhat-rpm-config + - libmount-devel + - libuuid-devel + - iscsi-initiator-utils-devel + - libstoragemgmt-devel + - libconfig-devel + - libblockdev-devel + - libblockdev-part-devel + - libblockdev-loop-devel + - libblockdev-swap-devel + - libblockdev-mdraid-devel + - libblockdev-fs-devel + - libblockdev-crypto-devel + - libblockdev-nvme-devel + - libblockdev-lvm-devel + - libblockdev-btrfs-devel + +downstream_package_name: udisks2 +specfile_path: packaging/udisks2.spec