Fixed docdir

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2015-07-06 00:18:08 +02:00
parent b54e7d33fb
commit f7e7eeab6f

View File

@ -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 power saving modes to adapt to the current usage. Currently only ethernet
network and ATA harddisk devices are implemented. 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} %global docdir %{_docdir}/%{name}-%{version}
%else %else
# RHEL > 7 || fedora
%global docdir %{_docdir}/%{name} %global docdir %{_docdir}/%{name}
%endif %endif