python-specfile/plans/packit-integration.fmf
Packit 3e8c28f541 [packit] 0.25.0 upstream release
Upstream tag: 0.25.0
Upstream commit: 78f50b4a
2023-11-20 15:01:13 +00:00

27 lines
946 B
Text

discover:
how: fmf
url: https://github.com/packit/packit
filter: tier:0 | tier:1
ref: 209847d1ff49e4bc4d1099e77b2b0790bc680a04
prepare:
- how: install
copr: packit/packit-dev
- how: shell
script: dnf -y config-manager --save --setopt="*:packit:packit-dev.priority=5"
adjust:
- when: how == integration
because: provide latest python-specfile rpm when running locally
prepare+:
- name: python3-specfile rpm
how: install
directory: noarch/
- when: distro == rhel-9 or distro == centos-9 or distro == centos-stream-9
because: 'build and deepdiff are not in EPEL 9: https://bugzilla.redhat.com/show_bug.cgi?id=2120251'
prepare+:
- how: install
package: python3-pip
- how: shell
script: pip3 install build deepdiff
- when: distro == rhel-8 or distro == centos-8 or distro == centos-stream-8
because: packit doesn't support EL 8
enabled: false