public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ffmpeg] epel9-next: Cleanup ffmpeg_update_free_sources.sh
@ 2026-07-14 21:59 Andreas Schneider
0 siblings, 0 replies; only message in thread
From: Andreas Schneider @ 2026-07-14 21:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/ffmpeg
Branch : epel9-next
Commit : 1652776fca84837cf8e612b403e1c7373ba8aef6
Author : Andreas Schneider <asn@cryptomilk.org>
Date : 2022-02-12T19:12:00+01:00
Stats : +0/-31 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/ffmpeg/c/1652776fca84837cf8e612b403e1c7373ba8aef6?branch=epel9-next
Log:
Cleanup ffmpeg_update_free_sources.sh
---
diff --git a/ffmpeg_update_free_sources.sh b/ffmpeg_update_free_sources.sh
index c09f1ac..5b6c3b1 100755
--- a/ffmpeg_update_free_sources.sh
+++ b/ffmpeg_update_free_sources.sh
@@ -17,28 +17,8 @@
#
# shellcheck disable=2181
-FF_PKGNAME="ffmpeg"
-FF_PKGNAME_SUFFIX="-free"
-FF_VERSION="$(rpmspec -P ./*.spec | grep ^Version | sed -e 's/Version:[ ]*//g')"
-FF_TARBALL_URL="https://ffmpeg.org/releases/${FF_PKGNAME}-${FF_VERSION}.tar.xz"
-FF_TARBALL="$(basename "${FF_TARBALL_URL}")"
-FF_GPG_ARMOR_FILE="${FF_TARBALL}.asc"
-FF_PKG_DIR="$(pwd)"
-FF_KEYRING="${FF_PKG_DIR}/ffmpeg.keyring"
-FF_TMPDIR=$(mktemp --tmpdir -d ffmpeg-XXXXXXXX)
-FF_PATH="${FF_TMPDIR}/${FF_PKGNAME}-${FF_VERSION}"
-
-cleanup_tmpdir() {
- # shellcheck disable=2164
- popd 2>/dev/null
- rm -rf "${FF_TMPDIR}"
-}
-trap cleanup_tmpdir SIGINT
-
cleanup_and_exit()
{
- cleanup_tmpdir
-
if test "$1" = 0 -o -z "$1"; then
exit 0
else
@@ -47,17 +27,6 @@ cleanup_and_exit()
fi
}
-function usage()
-{
- echo "Usage: $(basename "${0}") BUILD_LOG"
- cleanup_and_exit 0
-}
-
-if [[ $# -lt 1 ]]; then
- usage
- cleanup_and_exit 0
-fi
-
echo ">>> Collect information from ${1}"
build_log="$(readlink -f "${1}")"
if [[ -z "${build_log}" ]] || [[ ! -r "${build_log}" ]]; then
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-14 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14 21:59 [rpms/ffmpeg] epel9-next: Cleanup ffmpeg_update_free_sources.sh Andreas Schneider
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox