Currently, with pyproject-rpm-macros 1.6.0, the logic to recognize %lang() files is: If the file suffix is .mo and there is /locale/ in the path, parse the segment after /locale/ as the language code. E.g. %{python3_sitelib}/notebook/locale/nl/LC_MESSAGES/notebook.mo is recognized as %lang(nl). However, this does not work for paths without /locale/. A more flexible check might be to see if /LC_MESSAGES/ is in the path, parse the segment before /LC_MESSAGES/ as the language code. That should work with: - %{python3_sitelib}/notebook/locale/nl/LC_MESSAGES/notebook.mo - %{python3_sitelib}/notebook/i18n/nl/LC_MESSAGES/notebook.mo - %{python3_sitelib}/notebook/translations/nl/LC_MESSAGES/notebook.mo - %{_datadir}/locale/nl/LC_MESSAGES/notebook.mo We might even recognize more LC_... directories (ideally according to some gettext specification).
FEDORA-2023-8014f581aa has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8014f581aa
FEDORA-2023-8baee8466a has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8baee8466a
FEDORA-2023-8baee8466a has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-f706deb47c has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f706deb47c
FEDORA-2023-c832ab9400 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c832ab9400
FEDORA-2023-8014f581aa has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-c832ab9400 has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-c832ab9400` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-c832ab9400 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-f706deb47c has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-f706deb47c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-f706deb47c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-c832ab9400 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-f706deb47c has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.