diff --git a/p7zip.spec b/p7zip.spec index 3d4cafc..98316f4 100644 --- a/p7zip.spec +++ b/p7zip.spec @@ -110,9 +110,7 @@ cp GUI/kde4/*.desktop %{buildroot}%{_kde4_datadir}/kde4/services/ServiceMenus/ chmod +x %{buildroot}%{_bindir}/p7zipForFilemanager %check -%if 0%{?rhel} <= 6 -make test || : -%else +%if 0%{?rhel} != 6 make test %endif # Next test fails, because we don't have X11 envoirment ...