Bug 1059161 - Unescaped string in rpm macros file
Summary: Unescaped string in rpm macros file
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: hdf5
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-29 10:24 UTC by Anton Guda
Modified: 2014-01-30 03:23 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-30 03:23:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Escape % in spec file (387 bytes, patch)
2014-01-29 10:26 UTC, Anton Guda
no flags Details | Diff

Description Anton Guda 2014-01-29 10:24:27 UTC
Description of problem:
Spec file for hdf5 contains unescaped macro %_hdf5_version.
If package is build outside mock, this macro is expanded,
end file contains wrong string, like 
1.8.12 1.8.12

Version-Release number of selected component (if applicable):
1.8.12 and earlie

How reproducible:
Always



Steps to Reproduce:
1. Build hdf5 w/o mock or add hdf5 to build req.

Actual results:
Wrong string in /etc/rpm/macros.hdf5
Other build packages, like octave, pulls wrong dependencies.


Expected results:
%_hdf5_version 1.8.12 <-- real version here


Additional info:
Patch is ready

Comment 1 Anton Guda 2014-01-29 10:26:10 UTC
Created attachment 857007 [details]
Escape % in spec file

Comment 2 Orion Poplawski 2014-01-30 03:23:43 UTC
Thanks for the report.  Fixed in 1.8.12-3


Note You need to log in before you can comment on or make changes to this bug.