Browse Source

Define requires according to the installed kernel.

thanks @mika for suggestion
changes/94/28494/1
netaskd 7 years ago
committed by Richard Fuchs
parent
commit
c4b6fbc01c
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      el/rtpengine.spec

+ 5
- 1
el/rtpengine.spec View File

@ -49,7 +49,11 @@ Summary: Kernel module for NGCP rtpengine in-kernel packet forwarding
Group: System Environment/Daemons
BuildArch: noarch
BuildRequires: redhat-rpm-config
Requires: gcc make kernel-devel
Requires: gcc make
# Define requires according to the installed kernel.
%{?rhel:Requires: kernel-devel}
%{?fedora:Requires: kernel-devel}
%{?suse_version:Requires: kernel-source}
Requires(post): dkms
Requires(preun): dkms


Loading…
Cancel
Save