Fix RHEL conditions

0%{?rhel} on Fedora expands to 0 which makes condition 0 < 7 true. You don't want that.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 17f9b88dac
commit d1c9c8e199
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,4 +1,4 @@
%if 0%{?rhel} < 7 %if 0%{?rhel} && 0%{?rhel} < 7
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro} %{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
%endif %endif

Loading…
Cancel
Save