public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/firefox] f43: Build fixes - nss & update script
@ 2026-10-09 10:55 Martin Stransky
0 siblings, 0 replies; only message in thread
From: Martin Stransky @ 2026-10-09 10:55 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/firefox
Branch : f43
Commit : ee2ae500a14b58b3752231de720a790acbc8f30f
Author : Martin Stransky <stransky@redhat.com>
Date : 2026-10-09T12:53:46+02:00
Stats : +4/-9 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/firefox/c/ee2ae500a14b58b3752231de720a790acbc8f30f?branch=f43
Log:
Build fixes - nss & update script
---
diff --git a/firefox-update.sh b/firefox-update.sh
index b72b1a0..138594b 100755
--- a/firefox-update.sh
+++ b/firefox-update.sh
@@ -166,6 +166,7 @@ EOF
while [ $# -gt 0 ]; do
case "$1" in
--resume) RESUME_FROM="$2"; shift 2 ;;
+ -r=*) RESUME_FROM="${1#*=}"; shift ;;
--resume=*) RESUME_FROM="${1#*=}"; shift ;;
--build) BUILD_VERSION="$2"; shift 2 ;;
--build=*) BUILD_VERSION="${1#*=}"; shift ;;
@@ -783,7 +784,7 @@ DETECTED_NSPR_VERSION=""
# read_bundled_version <relative-header> <define-name>
# Reads from the unpacked tree, falling back to the tarball when resuming.
read_bundled_version() {
- local header="$1" define="$2" path="firefox-$NEW_VERSION/$1"
+ local header="$1" define="$2" path="firefox-$NEW_VERSION-build/$1"
if [ -f "$path" ]; then
grep -m1 -oP "^#define\s+$define\s+\"\K[^\"]+" "$path"
else
@@ -810,7 +811,7 @@ write_spec_version() {
if ! skip_step 11; then
step 11 "Detecting the NSS/NSPR versions from the Firefox sources"
- if [ ! -d "firefox-$NEW_VERSION" ]; then
+ if [ ! -d "firefox-$NEW_VERSION-build" ]; then
info "No unpacked tree - reading the headers from $NEW_TARBALL (this takes a while)"
fi
@@ -831,15 +832,9 @@ if ! skip_step 11; then
"$C_BOLD" "$NEW_VERSION" "$DETECTED_NSS_VERSION" "$DETECTED_NSPR_VERSION" "$C_OFF"
write_spec_version nss_version "$OLD_NSS_VERSION" "$DETECTED_NSS_VERSION" NSS
- write_spec_version nspr_version "$OLD_NSPR_VERSION" "$DETECTED_NSPR_VERSION" NSPR
NSS_VERSION="$DETECTED_NSS_VERSION"
- NSPR_VERSION="$DETECTED_NSPR_VERSION"
- info "Cleaning up the unpacked tree"
- rm -rf "firefox-$NEW_VERSION/"
ok "NSS/NSPR versions written to firefox.spec."
-else
- rm -rf "firefox-$NEW_VERSION/"
fi
#-----------------------------------------------------------------------------
diff --git a/firefox.spec b/firefox.spec
index 64da019..842f911 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -145,7 +145,7 @@ ExcludeArch: i686
%if %{?system_nss}
%global nspr_version 4.38.2
%global nspr_build_version %{nspr_version}
-%global nss_version 3.129
+%global nss_version 3.130
%global nss_build_version %{nss_version}
%endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-09 10:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 10:55 [rpms/firefox] f43: Build fixes - nss & update script Martin Stransky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox