Bug 1083135 - [patch] fix specfile conditionals for non-fedora system
Summary: [patch] fix specfile conditionals for non-fedora system
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: hadoop
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Robert Rati
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-01 14:27 UTC by Xavier Bachelot
Modified: 2015-04-21 22:24 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-21 22:24:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
fix specfile conditionals for non-fedora system (1.90 KB, patch)
2014-04-01 14:27 UTC, Xavier Bachelot
no flags Details | Diff

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


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