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>
This commit is contained in:
Omar Sandoval 2023-01-13 10:36:37 -08:00
parent 9cce4c33b2
commit f3cf8fb36d

View File

@ -10,10 +10,8 @@ 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, disable rpmautospec, and
# copy the contrib directory instead of the (now non-existent) examples
# directory until the next release.
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' -e 's/cp -PR examples /cp -PR contrib /'> python-drgn.spec\""
# 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