From c3a0e7207de11d1b4f7c9a0af6fcf117a1524034 Mon Sep 17 00:00:00 2001 From: Dominik 'Rathann' Mierzejewski Date: Oct 11 2016 14:45:48 +0000 Subject: fix condition when rhel is not defined --- diff --git a/pseudo.spec b/pseudo.spec index 856e290..6d922b2 100644 --- a/pseudo.spec +++ b/pseudo.spec @@ -64,7 +64,7 @@ touch %{buildroot}%{_bindir}/fakeroot %{buildroot}%{_mandir}/man1/fakeroot.1 ./run_tests.sh -v %post -%if 0%{rhel} < 7 +%if 0%{?rhel} < 7 # fakeroot in RHEL < 7 doesn't support alternatives link=$(readlink -e "%{_bindir}/fakeroot") if [ "$link" = "%{_bindir}/fakeroot" ]; then