| Summary: | something wrong with command line parse | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Levente Farkas <lfarkas> |
| Component: | mock | Assignee: | Clark Williams <williams> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | herrold, mebrown, pmatilai, williams |
| 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: | 2011-06-22 19:32:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Levente Farkas
2011-05-22 08:19:12 UTC
This is the culprit:
--define "rhel 6.1"
Rpm only supports integer and string comparisons in spec expressions.
%{rhel} and %{fedora}, as used in specs, must be integers and "6.1" is not one. A simple reproducer is:
# This is valid
%if 0 < 1
echo FOO
%endif
# this is invalid
%if 0 < 1.0
echo FOO
%endif
--> NOTABUG.
it's ok (but i don't know that). but in this case why not install ccache during the root build? what's the connections between these? |