Bug 456103
| Summary: | rpm: %if "%{?macro}" == "foo" constructs give error: parseExpressionBoolean returns -1 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rex Dieter <rdieter> |
| Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | ffesti, jnovy, karsten, pnasrat |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | rpm-4.5.90-0.git8444.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-08-04 06:50:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 438944 | ||
For example, http://koji.fedoraproject.org/koji/taskinfo?taskID=722265 We worked-around it by simply avoiding using constructs of that form (I think we converted easy to a numeric compare instead). Easily reproduced, the regression seems to originate from commit 90eec724a834c26131be11145a62084efe3bafb8. Florian, please have a look... (I'm on vacation and computer time is somewhat limited ;) *** Bug 456420 has been marked as a duplicate of this bug. *** One problem was an parsing error from empty double quoted strings ("") that
happen when %{?macro} in not defined. This is fixed upstream.
In rawhide now. |
Constructs of the form %if "%{?macro}" == "foo" are no longer accepted, and yield foo.spec:12: parseExpressionBoolean returns -1 errors now