Closed Bug 1997141 Opened 7 months ago Closed 7 months ago

The in-tree langpack RPMs have their `Supplements` field set to `firefox-langpacks-*` instead of `langpacks-*`

Categories

(Release Engineering :: General, defect)

defect

Tracking

(firefox146 fixed)

RESOLVED FIXED
Tracking Status
firefox146 --- fixed

People

(Reporter: eijebong, Assigned: eijebong)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 1 obsolete file)

They are marked as supplementing firefox-langpacks-{codename} but it should be supplementing langpacks-{codename} to be installed automatically based on which langpacks are currently installed on the system.

See https://docs.fedoraproject.org/en-US/packaging-guidelines/Langpacks/

Firefox expects XPI files in distribution/extensions to be named with
their ID or it throws exceptions on startup like
/usr/lib/firefox-nightly/distribution/extensions/langpack-it@firefox-nightly.mozilla.org.xpi contains an add-on with an incorrect ID.

The previous code would use the package name but the langpack XPI ID is
actually using the remoting name (firefox/devedition) and does not
contain the track for which it was built. So we ended up with
langpack-fr@firefox-nightly.mozilla.org.xpi instead of
langpack-fr@firefox.mozilla.org.xpi for nightly builds (same issue
with beta), which prevents the langpack from loading.

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.

Comment on attachment 9523275 [details]
Bug 1997141 - Properly name XPI files in the langpack RPM packages. r=#releng-reviewers

Revision D270551 was moved to bug 1997143. Setting attachment 9523275 [details] to obsolete.

Attachment #9523275 - Attachment is obsolete: true
Pushed by borivel@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/21c7a83374e1 https://hg.mozilla.org/integration/autoland/rev/fe0e654d1b19 Fix langpacks `Supplements` field in RPM package. r=releng-reviewers,ahal DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: