spec: fixed build requirements if there is no systemd
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
parent
c89ad2149c
commit
9050b8ff4d
1 changed files with 4 additions and 1 deletions
|
|
@ -15,7 +15,10 @@ Group: System Environment/Daemons
|
|||
Source: tuned-%{version}.tar.bz2
|
||||
URL: https://fedorahosted.org/tuned/
|
||||
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
BuildRequires: python, systemd-units
|
||||
BuildRequires: python
|
||||
%if %uses_systemd
|
||||
BuildRequires: systemd-units
|
||||
%endif
|
||||
Requires: usermode ethtool udev
|
||||
Requires(post): chkconfig
|
||||
Requires(preun): chkconfig
|
||||
|
|
|
|||
Loading…
Reference in a new issue