Added version configuration for CentOS 6 build
This commit is contained in:
parent
20351fd3b7
commit
c01904f5e5
@ -345,7 +345,7 @@ jobs:
|
||||
path: /tmp/fastnetmon_install.log
|
||||
- run: src/scripts/build_any_package.pl rpm /opt/fastnetmon_libraries_bundle.tar.gz 1.1.6
|
||||
- store_artifacts:
|
||||
path: /tmp/fastnetmon_1.1.6_amd64.rpm
|
||||
path: /tmp/result_data/fastnetmon-1.1.6-1.el6.x86_64.rpm
|
||||
- run: cp src/fastnetmon.conf /etc/fastnetmon.conf
|
||||
- run: /opt/fastnetmon/fastnetmon --configuration_check
|
||||
centos7:
|
||||
|
@ -172,7 +172,13 @@ DOC
|
||||
%global fastnetmon_config_path %{_sysconfdir}/fastnetmon.conf
|
||||
|
||||
Name: fastnetmon
|
||||
Version: 1.1.3
|
||||
DOC
|
||||
|
||||
$systemd_spec_file .= <<'DOC';
|
||||
Version: $package_version
|
||||
DOC
|
||||
|
||||
$systemd_spec_file .= <<'DOC';
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: A high performance DoS/DDoS load analyzer built on top of multiple packet capture engines (NetFlow, IPFIX, sFLOW, netmap, PF_RING, PCAP).
|
||||
@ -286,8 +292,18 @@ DOC
|
||||
%global fastnetmon_group %{fastnetmon_user}
|
||||
%global fastnetmon_config_path %{_sysconfdir}/fastnetmon.conf
|
||||
|
||||
DOC
|
||||
|
||||
# But we need interpolation here
|
||||
$spec_file .= <<DOC;
|
||||
|
||||
Name: fastnetmon
|
||||
Version: 1.1.3
|
||||
Version: $package_version
|
||||
|
||||
DOC
|
||||
|
||||
$spec_file .= <<'DOC';
|
||||
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: A high performance DoS/DDoS load analyzer built on top of multiple packet capture engines (NetFlow, IPFIX, sFLOW, netmap, PF_RING, PCAP).
|
||||
|
Loading…
Reference in New Issue
Block a user