Bug 1059161

Summary: Unescaped string in rpm macros file
Product: [Fedora] Fedora Reporter: Anton Guda <atu.guda>
Component: hdf5Assignee: Orion Poplawski <orion>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: c.david86, orion, pertusus
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-30 03:23:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Escape % in spec file none

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