diff --git a/plans/integration/abi-libdnf5.fmf b/plans/integration/abi-libdnf5.fmf new file mode 100644 index 000000000..94ea80091 --- /dev/null +++ b/plans/integration/abi-libdnf5.fmf @@ -0,0 +1,19 @@ +summary: + Check libdnf5 and libdnf5-cli rpm files with rpminspect for ABI compatibility +discover: + how: shell + tests: + - name: Use rpminspect to compare ABI with last nightly build of libdnf5 and libdnf5-cli + test: rpminspect-fedora -t BAD -T abidiff /var/share/test-artifacts/nightly/libdnf5-5*.rpm /var/share/test-artifacts/libdnf5-5*.rpm; rpminspect-fedora -t BAD -T abidiff /var/share/test-artifacts/nightly/libdnf5-cli-5*.rpm /var/share/test-artifacts/libdnf5-cli-5*.rpm +prepare: + - name: packages + how: install + package: + - rpminspect + - rpminspect-data-fedora + - name: get-current-builds + how: shell + # Set destdir to /var/share/test-artifacts/ because Copr build are stored there as well: https://packit.dev/docs/configuration/upstream/tests#rpminspect + script: dnf copr enable rpmsoftwaremanagement/dnf-nightly fedora-rawhide-x86_64 -y && dnf download libdnf5 libdnf5-cli --repo copr:copr.fedorainfracloud.org:rpmsoftwaremanagement:dnf-nightly --destdir=/var/share/test-artifacts/nightly +execute: + how: tmt