public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Andreas Schneider <asn@cryptomilk.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ffmpeg] epel9-next: Cleanup ffmpeg_update_free_sources.sh
Date: Tue, 14 Jul 2026 21:59:20 GMT [thread overview]
Message-ID: <178406636089.1.8012841557983797479.rpms-ffmpeg-1652776fca84@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-14 21:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178406636089.1.8012841557983797479.rpms-ffmpeg-1652776fca84@fedoraproject.org \
--to=asn@cryptomilk.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox