commit 21c7a83374e1e4c22739822f2bccbcf9f7421914
parent 77519287ed4caaa57af58e211a9d2b24c08da022
Author: Bastien Orivel <borivel@mozilla.com>
Date: Mon, 3 Nov 2025 09:49:41 +0000
Bug 1997141 - Fix langpacks `Supplements` field in RPM package. r=releng-reviewers,ahal DONTBUILD
According to the Fedora packaging guidelines [1], langpacks provided
with packages should be marked as supplementing the package itself as
well as `langpack-{locale}`. The current RPM was wrongly supplementing
the package name and `package-name-langpacks-{locale}` which resulted in
it not being picked up when installing the RPM.
[1]: https://docs.fedoraproject.org/en-US/packaging-guidelines/Langpacks/
Differential Revision: https://phabricator.services.mozilla.com/D270552
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/browser/installer/linux/app/rpm/firefox.spec.j2 b/browser/installer/linux/app/rpm/firefox.spec.j2
@@ -41,7 +41,7 @@ Source{{ loop.index + 2 }}: {{ codename }}.langpack.xpi
Summary: {{ description }}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
-Supplements: (%{name} = %{version}-%{release} and %{name}-langpacks-{{ codename }})
+Supplements: (%{name} = %{version}-%{release} and langpacks-{{ codename }})
%description l10n-{{ codename }}
{{ description }}