Language packages are being built differently for Leap and Tumbleweed
While investigating why some language packages are not being automatically installed, I noticed that the language packages are being built differently for Leap and Tumbleweed. Taking as an example the qemu package, besides the version, the *spec file* is the same for Leap and Tumbleweed. However, the package built for Leap 15.6 doesn't contain the locale information in the *provides* section. Why the difference? Tumbleweed:
rpm -qp --provides qemu-lang-9.0.2-1.2.x86_64.rpm locale(qemu:bg) locale(qemu:de_DE) locale(qemu:fr_FR) locale(qemu:hu) locale(qemu:it) locale(qemu:sv) locale(qemu:tr) locale(qemu:uk) locale(qemu:zh_CN) qemu-lang = 9.0.2-1.2 qemu-lang(x86-64) = 9.0.2-1.2
Leap 15.6:
rpm -qp --provides qemu-lang-8.2.2-150600.1.8.x86_64.rpm qemu-lang = 8.2.2-150600.1.8 qemu-lang(x86-64) = 8.2.2-150600.1.8
Best regards, Heitor Moreira
On 24.08.2024 07:10, Heitor Moreira wrote:
While investigating why some language packages are not being automatically installed, I noticed that the language packages are being built differently for Leap and Tumbleweed.
Taking as an example the qemu package, besides the version, the *spec file* is the same for Leap and Tumbleweed. However, the package built for Leap 15.6 doesn't contain the locale information in the *provides* section.
Why the difference?
locale provides are generated by fileattrs/locale.attr which is not present on Leap. On Tumbleweed it comes with rpm-config-SUSE and source is on github, while on Leap source is apparently internal to SUSE.
Tumbleweed:
rpm -qp --provides qemu-lang-9.0.2-1.2.x86_64.rpm locale(qemu:bg) locale(qemu:de_DE) locale(qemu:fr_FR) locale(qemu:hu) locale(qemu:it) locale(qemu:sv) locale(qemu:tr) locale(qemu:uk) locale(qemu:zh_CN) qemu-lang = 9.0.2-1.2 qemu-lang(x86-64) = 9.0.2-1.2
Leap 15.6:
rpm -qp --provides qemu-lang-8.2.2-150600.1.8.x86_64.rpm qemu-lang = 8.2.2-150600.1.8 qemu-lang(x86-64) = 8.2.2-150600.1.8
Best regards, Heitor Moreira
I tried to mimic the Tumbleweed way of building language packages in Leap by copying some files and doing some merges from rpm-config-SUSE, but I failed. There is something else that I'm missing. Em sáb., 24 de ago. de 2024 às 03:15, Andrei Borzenkov <arvidjaar@gmail.com> escreveu:
On 24.08.2024 07:10, Heitor Moreira wrote:
While investigating why some language packages are not being automatically installed, I noticed that the language packages are being built differently for Leap and Tumbleweed.
Taking as an example the qemu package, besides the version, the *spec file* is the same for Leap and Tumbleweed. However, the package built for Leap 15.6 doesn't contain the locale information in the *provides* section.
Why the difference?
locale provides are generated by fileattrs/locale.attr which is not present on Leap. On Tumbleweed it comes with rpm-config-SUSE and source is on github, while on Leap source is apparently internal to SUSE.
Tumbleweed:
rpm -qp --provides qemu-lang-9.0.2-1.2.x86_64.rpm locale(qemu:bg) locale(qemu:de_DE) locale(qemu:fr_FR) locale(qemu:hu) locale(qemu:it) locale(qemu:sv) locale(qemu:tr) locale(qemu:uk) locale(qemu:zh_CN) qemu-lang = 9.0.2-1.2 qemu-lang(x86-64) = 9.0.2-1.2
Leap 15.6:
rpm -qp --provides qemu-lang-8.2.2-150600.1.8.x86_64.rpm qemu-lang = 8.2.2-150600.1.8 qemu-lang(x86-64) = 8.2.2-150600.1.8
Best regards, Heitor Moreira
participants (2)
-
Andrei Borzenkov
-
Heitor Moreira