mirror of
https://github.com/containers/podman.git
synced 2025-09-10 02:02:22 +08:00

gvisor-tap-vsock: - bump to v0.6.1 - installs /usr/libexecdir/podman/gvforwarder packit: - fix pre-sync action in propose-downstream Ref: https://dashboard.packit.dev/results/propose-downstream/2581 cleanup: - remove `contrib/spec/python-podman.spec.in`. No longer needed. [NO NEW TESTS NEEDED] Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
17 lines
597 B
Bash
17 lines
597 B
Bash
#!/usr/bin/env bash
|
|
|
|
# This script will update the goimports in the rpm spec for downstream fedora
|
|
# packaging, via the `propose-downstream` packit action.
|
|
# The goimports don't need to be present upstream.
|
|
|
|
set -e
|
|
|
|
# script is run from git root directory
|
|
SPEC_FILE=rpm/podman.spec
|
|
|
|
sed -i '/Provides: bundled(golang.*/d' $SPEC_FILE
|
|
|
|
GO_IMPORTS=$(golist --imported --package-path github.com/containers/podman --skip-self | sort -u | xargs -I{} echo "Provides: bundled(golang({}))")
|
|
|
|
awk -v r="$GO_IMPORTS" '/^# vendored libraries/ {print; print r; next} 1' $SPEC_FILE > temp && mv temp $SPEC_FILE
|