Project

General

Profile

Actions

Bug #6380

closed

AIX rudder-agent SPECfile fails to build due to a macro expansion error

Added by Matthieu CERDA over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When you try to build rudder-agent on AIX, you get this:

16:57:03 rpm -ba SPECS/*.spec
16:57:03 parse error in expression
16:57:03 /resgrp136/opt-freeware/src/packages/package/SPECS/rudder-agent.spec:392: parseExpressionBoolean returns -1

The error is due to a condition that the AIX rpm version is unable to understand: "%if "%{is_tokyocabinet_here}" != "true" && 0%{?rhel} != 3" , the 0%{?rhel} != 3 condition has to be put between quotes to be understood properly (who needs integers anyway...)

Actions

Also available in: Atom PDF