python-specfile/plans/packit-integration.fmf
Packit 5b62bbfc17 [packit] 0.18.0 upstream release
Upstream tag: 0.18.0
Upstream commit: e5615bf6
2023-05-26 09:54:57 +00:00

24 lines
814 B
Text

discover:
how: fmf
url: https://github.com/packit/packit
filter: tier:0 | tier:1
ref: a5a18a83cb2f71eb9899c2000313804f96500d49
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: 'flexmock 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 flexmock deepdiff