Remove tcp_wrappers dependency (#1518768)
This commit is contained in:
parent
56522679a8
commit
6abaaecb39
@ -1,5 +1,3 @@
|
|||||||
# use netsnmp_tcp_wrappers 0 to disable tcp_wrappers support
|
|
||||||
%{!?netsnmp_tcp_wrappers:%global netsnmp_tcp_wrappers 1}
|
|
||||||
# use nestnmp_check 0 to speed up packaging by disabling 'make test'
|
# use nestnmp_check 0 to speed up packaging by disabling 'make test'
|
||||||
%{!?netsnmp_check: %global netsnmp_check 1}
|
%{!?netsnmp_check: %global netsnmp_check 1}
|
||||||
|
|
||||||
@ -11,7 +9,7 @@
|
|||||||
Summary: A collection of SNMP protocol tools and libraries
|
Summary: A collection of SNMP protocol tools and libraries
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
Version: 5.7.3
|
Version: 5.7.3
|
||||||
Release: 27%{?dist}
|
Release: 28%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -97,9 +95,6 @@ BuildRequires: systemd-units
|
|||||||
%ifnarch s390 s390x ppc64le
|
%ifnarch s390 s390x ppc64le
|
||||||
BuildRequires: lm_sensors-devel >= 3
|
BuildRequires: lm_sensors-devel >= 3
|
||||||
%endif
|
%endif
|
||||||
%if %{netsnmp_tcp_wrappers}
|
|
||||||
BuildRequires: tcp_wrappers-devel
|
|
||||||
%endif
|
|
||||||
BuildRequires: autoconf, automake
|
BuildRequires: autoconf, automake
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -133,9 +128,6 @@ Summary: The development environment for the NET-SNMP project
|
|||||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
Requires: %{name}-agent-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
Requires: %{name}-agent-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||||
Requires: elfutils-devel, rpm-devel, elfutils-libelf-devel, openssl-devel
|
Requires: elfutils-devel, rpm-devel, elfutils-libelf-devel, openssl-devel
|
||||||
%if %{netsnmp_tcp_wrappers}
|
|
||||||
Requires: tcp_wrappers-devel
|
|
||||||
%endif
|
|
||||||
%ifnarch s390 s390x ppc64le
|
%ifnarch s390 s390x ppc64le
|
||||||
Requires: lm_sensors-devel
|
Requires: lm_sensors-devel
|
||||||
%endif
|
%endif
|
||||||
@ -283,9 +275,6 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib"
|
|||||||
--with-logfile="/var/log/snmpd.log" \
|
--with-logfile="/var/log/snmpd.log" \
|
||||||
--with-persistent-directory="/var/lib/net-snmp" \
|
--with-persistent-directory="/var/lib/net-snmp" \
|
||||||
--with-mib-modules="$MIBS" \
|
--with-mib-modules="$MIBS" \
|
||||||
%if %{netsnmp_tcp_wrappers}
|
|
||||||
--with-libwrap=yes \
|
|
||||||
%endif
|
|
||||||
--sysconfdir=%{_sysconfdir} \
|
--sysconfdir=%{_sysconfdir} \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
--enable-ucd-snmp-compatibility \
|
--enable-ucd-snmp-compatibility \
|
||||||
@ -558,6 +547,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 13 2017 Josef Ridky <jridky@redhat.com> - 1:5.7.3-28
|
||||||
|
- remove tcp_wrapper (#1518768)
|
||||||
|
|
||||||
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:5.7.3-27
|
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:5.7.3-27
|
||||||
- Add Provides for the old name without %%_isa
|
- Add Provides for the old name without %%_isa
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user