From 6444b9ee63ef0b27d4eb77bfad186553b9fa6601 Mon Sep 17 00:00:00 2001 From: Tomas Hoger Date: Wed, 24 Jan 2018 17:52:21 +0100 Subject: [PATCH] Revert make test conditional change Previous commit incorrectly changed condition for running 'make test' from 0%{?rhel} != 6 to 0%{?rhel} > 6 with intention to make it more obvious that tests are enabled on RHEL/EPEL 7 and later, but it unintentionally disabled tests on Fedora (and possibly other distros). --- p7zip.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p7zip.spec b/p7zip.spec index 2196e98..fed50fc 100644 --- a/p7zip.spec +++ b/p7zip.spec @@ -122,7 +122,7 @@ chmod +x %{buildroot}%{_bindir}/p7zipForFilemanager %endif %check -%if 0%{?rhel} > 6 +%if 0%{?rhel} != 6 make test %endif # Next test fails, because we don't have X11 envoirment ...