python-specfile/plans/packit-integration.fmf
Packit 6a29bd20c8 Update to 0.35.1 upstream release
- Resolves: rhbz#2344364

Upstream tag: 0.35.1
Upstream commit: 81569906

Commit authored by Packit automation (https://packit.dev/)
2025-05-30 10:00:55 +00:00

33 lines
1.1 KiB
Text

discover:
how: fmf
url: https://github.com/packit/packit
filter: tag:full
prepare:
- how: install
copr: packit/packit-dev
# make sure the Copr repo has higher priority than TF Tag Repository
- how: shell
script: sed -i -n '/^priority=/!p;$apriority=5' /etc/yum.repos.d/*:packit:packit-dev.repo
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 < 8.0.0' # version 8.0.0 depends on numpy, avoid it
- when: >
distro == rhel-8 or distro == centos-8 or distro == centos-stream-8 or
distro == rhel-9 or distro == centos-9 or distro == centos-stream-9
because: "packit doesn't support EL 8"
enabled: false