Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
netflow
>
ntopng
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 18
[-]
[+]
Changed
ntopng.spec
@@ -20,7 +20,11 @@ Patch11: ntopng-1.0.2_json-c_Werror.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root -BuildRequires: gcc-c++ +BuildRequires: gcc-c++ automake autoconf +%if 0%{?suse_version} > 1020 +BuildRequires: fdupes +%endif + %if 0%{?suse_version} >= 1010 || 0%{?rhel} || 0%{?centos_version} || 0%{?fedora_version} BuildRequires: libpcap-devel %else @@ -78,6 +82,14 @@ %__install -D -m644 %{S:7} %{buildroot}/var/adm/fillup-templates/sysconfig.%{name} %endif chmod -x %{buildroot}%{_datadir}/ntopng/httpdocs/font-awesome/font/fontawesome-webfont.svg +%__install -d %{buildroot}%{_sbindir} +ln -sf ../../etc/init.d/ntopng %{buildroot}%{_sbindir}/rcntopng + +%if 0%{?suse_version} > 1020 +# create hardlinks for the rest +%fdupes $RPM_BUILD_ROOT%{_datadir}/ntopng +%endif + %post %if 0%{?suse_version} @@ -112,6 +124,7 @@ %files %defattr(-,root,root) %{_bindir}/ntopng +%{_sbindir}/rcntopng %{_mandir}/man8/ntopng.8* %dir /etc/ntopng %dir /etc/init
Changed
ntopng-1.1_6932.tar.bz2
^