From f7e7eeab6ff6becfe9a6452a45d7e45764f04eca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Mon, 6 Jul 2015 00:18:08 +0200 Subject: [PATCH] Fixed docdir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jaroslav Škarvada --- tuned.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tuned.spec b/tuned.spec index 449330a..de2e657 100644 --- a/tuned.spec +++ b/tuned.spec @@ -21,9 +21,11 @@ Based on that information components will then be put into lower or higher power saving modes to adapt to the current usage. Currently only ethernet network and ATA harddisk devices are implemented. -%if 0%{?rhel} <= 7 +%if 0%{?rhel} <= 7 && 0%{!?fedora:1} +# RHEL <= 7 %global docdir %{_docdir}/%{name}-%{version} %else +# RHEL > 7 || fedora %global docdir %{_docdir}/%{name} %endif