Bug 1083135

Summary: [patch] fix specfile conditionals for non-fedora system
Product: [Fedora] Fedora Reporter: Xavier Bachelot <xavier>
Component: hadoopAssignee: Robert Rati <rrati>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: besser82, matt, pbrobinson, rrati
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-21 22:24:35 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
fix specfile conditionals for non-fedora system none

Description Xavier Bachelot 2014-04-01 14:27:26 UTC
Created attachment 881375 [details]
fix specfile conditionals for non-fedora system

Description of problem:
%fedora macro is not defined on non-fedora system and thus some conditional in the specfile fail to evaluate on non-Fedora systems :
%if 0%{fedora} >= 21

The conditional should be rewrite into :
%if 0%{?fedora} >= 21

The attached patch does just that.

Comment 1 Robert Rati 2014-05-21 12:42:13 UTC
This will be included in the 2.4 package

Comment 2 Jaroslav Reznik 2015-03-03 17:12:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22