https://bugzilla.redhat.com/show_bug.cgi?id=1097368



--- Comment #7 from Richard Shaw <hobbes1...@gmail.com> ---
(In reply to Dan HorĂ¡k from comment #2)
> the BR: cmake28 should be used only on when %rhel <= 6, otherwise it will
> break build on EL-7 where regular cmake is 2.8.x

Ick... I had to do this to keep from requiring cmake28 for Fedora:

# Set rhel to some value if not specific (i.e. Fedora) to make conditional
work.
%{!?rhel: %global rhel 100}

# Use a newer version of cmake on EL 6.
%if 0%{?rhel} <= 6
%global cmake %cmake28
%endif

Since I have no plans to build for EL <6, can I drop the "<" and just use "="
so I don't have to use this ugly workaround?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to