| Summary: | Epoch is placed in the wrong location in spec, resulting in undefined epoch variables (Patch attached) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Neal Gompa <ngompa13> |
| Component: | RPM Packages | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | jani.valimaa |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | xaos-3.6-6.mga5.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | Patch to xaos.spec to move Epoch to just below Release | ||
Created attachment 7132 [details]
Patch to xaos.spec to move Epoch to just below Release
Patch attached.
Fixed in SVN. Status:
NEW =>
RESOLVED |
Description of problem: The Epoch value was set after a call to the %{epoch} variable, which led to it being undefined for the call. This led to an interesting output when I started doing createrepo_c runs locally to test Mageia on the rpm-md generation on my Fedora box: """""""""""""""""""""""""""""""""""""""""""""""" C_CREATEREPOLIB: Warning: Bad epoch in version string "%{epoch}:3.6-6.mga5" for dependency "xaos-svgalib" in package "xaos-1:3.6-6.mga5.x86_64" C_CREATEREPOLIB: Warning: Skipping this dependency """""""""""""""""""""""""""""""""""""""""""""""" The included patch corrects this by moving the Epoch above the line where this version string exists. Version-Release number of selected component (if applicable): 3.6-6.mga5 Reproducible: Steps to Reproduce: