| Summary: | %mkrel 2 is not expanded in bm message | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | papoteur <yvesbrungard> |
| Component: | RPM Packages | Assignee: | papoteur <yvesbrungard> |
| Status: | NEW --- | QA Contact: | |
| Severity: | minor | ||
| Priority: | Normal | CC: | ftg, geiger.david68210, marja11, thierry.vignaud |
| Version: | 8 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | rpm-build-4.16.1.3-1.1.mga8 | ||
| Whiteboard: | |||
| Source RPM: | bm | CVE: | |
| Status comment: | |||
| Attachments: | [Patch] for bm | ||
|
Description
papoteur
2021-09-15 07:45:04 CEST
(In reply to papoteur from comment #0) > Description of problem: > When building a package with bm, different steps are displayed. > One of these is (at beginning): > processing package vosk-model-small-ru-0.15-%mkrel 2 > > You can note that %mkrel 2 is not expanded > This is minor, but this can conduct to think that something is wrong in the > spec file using this macro. > > I presume the problem is in rpmbuild, not bm. > > > Version-Release number of selected component (if applicable): > rpm-build-4.16.1.3-1.1.mga8 Assigning to the rpm stack maintainers. CC:
(none) =>
marja11 AFAIC This is not a bug in rpm-build but in bm. /usr/lib/python3.9/site-packages/BuildManager/package.py just manually parses the spec file in _package_spec() It should explicitly try to expand macros… Assigning according to http://sophie.zarb.org/rpms/b2cc908a66112494642edb8becb5079b/changelog Source RPM:
rpm-build-4.16.1.3-1.1.mga8 =>
bm Assigning to the current bm maintainer. Assignee:
bugsquad =>
geiger.david68210 It's not a packaging job. I take it. Assignee:
geiger.david68210 =>
yves.brungard_mageia
papoteur
2021-11-12 08:37:47 CET
Summary:
%mkrel 2 is not expanded in rpmbuild message =>
%mkrel 2 is not expanded in bm message Created attachment 12985 [details]
[Patch] for bm
If %mkrel is seen in the release line, use rpm for evaluating it.
|