Fixes in spec for RPM

This commit is contained in:
Pavel Odintsov 2015-03-24 15:08:43 +03:00
parent 9bdbbf5868
commit ae47825daf
2 changed files with 7 additions and 7 deletions

@ -6,20 +6,20 @@ First of all, please install Epel repo:
Enable ntop repo: ```vim /etc/yum.repos.d/ntop.repo```
Repo file:
Repo file (it's nightbuild version. Stable did not work correctly):
```bash
[ntop]
name=ntop packages
baseurl=http://www.nmon.net/centos-stable/$releasever/$basearch/
baseurl=http://www.nmon.net/centos/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.nmon.net/centos-stable/RPM-GPG-KEY-deri
gpgkey=http://www.nmon.net/centos/RPM-GPG-KEY-deri
[ntop-noarch]
name=ntop packages
baseurl=http://www.nmon.net/centos-stable/$releasever/noarch/
baseurl=http://www.nmon.net/centos/$releasever/noarch/
enabled=1
gpgcheck=1
gpgkey=http://www.nmon.net/centos-stable/RPM-GPG-KEY-deri
gpgkey=http://www.nmon.net/centos/RPM-GPG-KEY-deri
```
And install pfring kernel module and libs:

@ -28,9 +28,9 @@ Source0: https://github.com/FastVPSEestiOu/fastnetmon/archive/fastnet
BuildRequires: git, make, gcc, gcc-c++, boost-devel, GeoIP-devel, log4cpp-devel
BuildRequires: ncurses-devel, boost-thread, boost-regex, libpcap-devel, gpm-devel, clang, cmake
BuildRequires: pfring = 6.0.3-8637
BuildRequires: pfring >= 6.0.3-9154
Requires: pfring = 6.0.3-8637
Requires: pfring >= 6.0.3-9154
Requires: log4cpp, daemonize, libpcap, boost-thread, boost-thread, boost-regex
Requires(pre): shadow-utils
Requires(post): chkconfig