drgn/.packit.yaml
Omar Sandoval f3cf8fb36d Revert "packit: temporarily work around examples directory"
This reverts commit 845ac5fceb. The Fedora
RPM spec has been updated.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2023-01-13 10:38:54 -08:00

73 lines
1.7 KiB
YAML

# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: python-drgn.spec
files_to_sync:
- 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\""
srpm_build_deps:
- bash
- curl
- python3-setuptools
- sed
jobs:
- job: copr_build
trigger: commit
owner: "@meta"
project: drgn
targets:
- fedora-all-aarch64
# Disabled due to https://bugzilla.redhat.com/show_bug.cgi?id=2152259.
# - 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
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