From 27eda0f0240f24f69d028dbcf86c34dfe529881f 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 | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .packit.yaml diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000000..bf74a5be00 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,52 @@ +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 + +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