| Summary: | Missing rpm-macros in Mageia 4 and 5 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Hartmut Goebel <h.goebel> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | jani.valimaa, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | rpm-mageia-setup | CVE: | |
| Status comment: | |||
Those macros were previously defined in /etc/rpm/macros.jpackage which was provided by jpackage-utils pkg. jpackage-utils is nowadays obsoleted by javapackages-tools which also provides the file in question, but doesn't define those missing (and many other) macros anymore. So the bug isn't in rpm, but in javapackages-tools. However, hardly none of .specs I've seen uses those macros, but IMHO we should define those missing macros in some more general pkg. CC:
(none) =>
jani.valimaa Maybe in /etc/rpm/macros.d/20common.macros which is provided by rpm-mageia-setup pkg.
Manuel Hiebel
2014-08-06 00:37:53 CEST
CC:
(none) =>
thierry.vignaud Language specific macros should be defined in the appropriate package Source RPM:
rpm-4.11.1-8.mga4.src.rpm =>
javapackages-tools Please note: The original bug report was about %{_desktopdir} and %{_iconsscaldir}. Neither of them are language specific.
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer maintained, which means that it will not receive any further security or bug fix updates. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Mageia version. Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't able to fix it before Mageia 4's end of life. If you are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia. If it's valid in several versions, select the highest and add MGAxTOO in whiteboard for each other valid release. Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Mageia release includes newer upstream software that fixes bugs or makes them obsolete. If you would like to help fixing bugs in the future, don't hesitate to join the packager team via our mentoring program [1] or join the teams that fit you most [2]. [1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager [2] http://www.mageia.org/contribute/
Hartmut Goebel
2015-09-21 22:00:13 CEST
Summary:
Missing rpm-macros in Mageia 4 =>
Missing rpm-macros in Mageia 4 and 5 Reducing the priority and severity. Thierry, as pointed out in comment 4, this bug report is about %{_desktopdir} and %{_iconsscaldir}, which should be pretty generic even though they were previously defined in a java package. So the question is, should we add them to rpm-mageia-setup? The %{_iconsscaldir} one seems to be for corner cases if it refers to /usr/share/icons/hicolor/scalable or something like that, I'm not sure we want it. %{_desktopdir} could be useful in every application package; now if it's not used in other distros, it might just add unnecessary divergences just for a cosmetic issue. Version:
5 =>
Cauldron
Rémi Verschelde
2015-09-21 22:32:22 CEST
Assignee:
dmorganec =>
bugsquad If they're not used by other distro and since they're not used by Mageia packages, I see no point in adding them. 3rd party packages can either have their own macro file in some foobar-macro package that would be BRed by them or can just not use those macros Status:
NEW =>
RESOLVED |
I'm porting some rpms to Mageia 4 and found some rpm-macros no longer defined. This is hindering porting packages. The wiki does not contain any hit, too. Missing are: %{_desktopdir} -> to copy the .desktop file %{_iconsscaldir} -> to copy the .svg icon I asked on the dev-ml, which pointed me to <https://ml.mageia.org/l/arc/dev/2014-04/msg00177.html>. But the only meaningful insight of that thread is: dmorgan is the maintainer. How to reproduce --------------------- rpm --showrc | grep -E 'desktopdir|iconsscaldir' shows no output I'd expect that do show (at least) macro-definition.