From 02a362d5638e9905b290bb941b0f5eda27be3528 Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Fri, 27 May 2011 22:08:45 +0000 Subject: [PATCH] support for distros that don't know about Recommends OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=3 --- ranger.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ranger.spec b/ranger.spec index ba51d54..331bfe2 100644 --- a/ranger.spec +++ b/ranger.spec @@ -16,10 +16,15 @@ BuildRequires: python-devel >= 2.5.1 BuildRequires: update-desktop-files %endif Requires: file +%if 0%{?suse_version} Recommends: atool Recommends: mediainfo Recommends: w3m Recommends: highlight +%else +BuildRequires: atool highlight +Requires: atool +%endif %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif