Skip to content

Commit 65243ce

Browse files
author
Pavel Siska
committed
RPM spec: Update ipfixprobe-msec.spec.in file
1 parent 7f6f03c commit 65243ce

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

pkg/rpm/ipfixprobe-msec.spec.in

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,51 @@ Group: Liberouter
99
License: BSD
1010
Vendor: CESNET, z.s.p.o.
1111
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
12-
Provides: ipfixprobe-msec
12+
Provides: ipfixprobe
1313
Obsoletes: ipfixprobe-ndp < 5.0.0
1414
Obsoletes: ipfixprobe-dpdk < 5.0.0
1515
Conflicts: ipfixprobe-nemea, ipfixprobe
1616
Source0: %{name}-%{version}.tar.gz
1717

1818
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
19-
BuildRequires: (gcc >= 10 or gcc-toolset-13-gcc)
20-
BuildRequires: (gcc-c++ >= 10 or gcc-toolset-13-gcc-c++)
19+
%if 0%{?rhel} == 8
20+
BuildRequires: gcc-toolset-14
21+
BuildRequires: gcc-toolset-14-gcc
22+
BuildRequires: gcc-toolset-14-gcc-c++
23+
%endif
24+
25+
%if 0%{?rhel} == 9
26+
BuildRequires: gcc >= 10
27+
BuildRequires: gcc-c++ >= 10
28+
%endif
2129
BuildRequires: make
2230
BuildRequires: cmake >= 3.12
2331
BuildRequires: libunwind-devel
2432
BuildRequires: gcc-toolset-14-libatomic-devel
2533
BuildRequires: pkgconfig
2634
BuildRequires: lz4-devel
2735
BuildRequires: openssl-devel
36+
BuildRequires: git
2837

2938
Requires: libatomic
3039
Requires: fuse3
31-
Requires: telemetry
3240
Requires: lz4
3341
Requires: openssl
3442

43+
%description
44+
ipfixprobe is a network traffic analysis tool that exports IPFIX flows with extended elements via plugins.
45+
Export timestamp in milliseconds.
46+
3547
# Make sure that build is always performed out-of-source
3648
%undefine __cmake_in_source_build
3749

38-
%description
39-
The package contains tools, configuration files and traffic samples
40-
that make up the main components of the test environment.
41-
4250
%prep
4351
%autosetup
4452

4553
%build
54+
%if 0%{?rhel} == 8
55+
source /opt/rh/gcc-toolset-14/enable
56+
%endif
4657
%cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_MILISECONDS_TIMESTAMP=ON
4758
%cmake_build
4859

0 commit comments

Comments
 (0)