drgn/.packit.yaml
Davide Cavalca 30731abe6b packit: disable rpmautospec
Something changed recently in PackIt and it no longer generates a
changelog if the rpmautospec macro is present. This ends up breaking
EPEL 8 builds, which apparently don't support rpmautospec properly yet
(see https://pagure.io/fedora-infra/rpmautospec/issue/204).

Signed-off-by: Davide Cavalca <dcavalca@fb.com>
2022-08-25 15:35:30 -07:00

68 lines
1.7 KiB
YAML

# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: python-drgn.spec
synced_files:
- python-drgn.spec
- .packit.yaml
upstream_package_name: drgn
downstream_package_name: python-drgn
actions:
get-current-version: "python3 setup.py --version"
# Fetch the specfile from Rawhide, drop any patches and disable rpmautospec
post-upstream-clone: "bash -c \"curl -s https://src.fedoraproject.org/rpms/python-drgn/raw/main/f/python-drgn.spec | sed -e '/^Patch[0-9]/d' -e '/^%autochangelog$/d' > python-drgn.spec\""
jobs:
- job: copr_build
trigger: commit
metadata:
owner: "@meta"
project: drgn
targets:
- fedora-all-aarch64
- fedora-all-armhfp
- fedora-all-i386
- fedora-all-ppc64le
- fedora-all-s390x
- fedora-all-x86_64
- fedora-eln-aarch64
- fedora-eln-i386
- fedora-eln-ppc64le
- fedora-eln-s390x
- fedora-eln-x86_64
- epel-8-aarch64
- epel-8-ppc64le
- epel-8-s390x
- epel-8-x86_64
- epel-9-aarch64
- epel-9-ppc64le
- epel-9-s390x
- epel-9-x86_64
- job: copr_build
trigger: pull_request
metadata:
owner: "@meta"
project: drgn
targets:
- fedora-all-aarch64
- fedora-all-armhfp
- fedora-all-i386
- fedora-all-ppc64le
- fedora-all-s390x
- fedora-all-x86_64
- fedora-eln-aarch64
- fedora-eln-i386
- fedora-eln-ppc64le
- fedora-eln-s390x
- fedora-eln-x86_64
- epel-8-aarch64
- epel-8-ppc64le
- epel-8-s390x
- epel-8-x86_64
- epel-9-aarch64
- epel-9-ppc64le
- epel-9-s390x
- epel-9-x86_64