From 6abaaecb391b5e9ae6e71497212cedf76a1acf81 Mon Sep 17 00:00:00 2001 From: Josef Ridky Date: Wed, 13 Dec 2017 22:25:19 +0100 Subject: [PATCH] Remove tcp_wrappers dependency (#1518768) --- net-snmp.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/net-snmp.spec b/net-snmp.spec index e44db5f..106306e 100644 --- a/net-snmp.spec +++ b/net-snmp.spec @@ -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' %{!?netsnmp_check: %global netsnmp_check 1} @@ -11,7 +9,7 @@ Summary: A collection of SNMP protocol tools and libraries Name: net-snmp Version: 5.7.3 -Release: 27%{?dist} +Release: 28%{?dist} Epoch: 1 License: BSD @@ -97,9 +95,6 @@ BuildRequires: systemd-units %ifnarch s390 s390x ppc64le BuildRequires: lm_sensors-devel >= 3 %endif -%if %{netsnmp_tcp_wrappers} -BuildRequires: tcp_wrappers-devel -%endif BuildRequires: autoconf, automake %description @@ -133,9 +128,6 @@ Summary: The development environment for the NET-SNMP project Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: %{name}-agent-libs%{?_isa} = %{epoch}:%{version}-%{release} Requires: elfutils-devel, rpm-devel, elfutils-libelf-devel, openssl-devel -%if %{netsnmp_tcp_wrappers} -Requires: tcp_wrappers-devel -%endif %ifnarch s390 s390x ppc64le Requires: lm_sensors-devel %endif @@ -283,9 +275,6 @@ MIBS="$MIBS ucd-snmp/lmsensorsMib" --with-logfile="/var/log/snmpd.log" \ --with-persistent-directory="/var/lib/net-snmp" \ --with-mib-modules="$MIBS" \ -%if %{netsnmp_tcp_wrappers} - --with-libwrap=yes \ -%endif --sysconfdir=%{_sysconfdir} \ --enable-ipv6 \ --enable-ucd-snmp-compatibility \ @@ -558,6 +547,9 @@ rm -rf ${RPM_BUILD_ROOT} %endif %changelog +* Wed Dec 13 2017 Josef Ridky - 1:5.7.3-28 +- remove tcp_wrapper (#1518768) + * Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek - 1:5.7.3-27 - Add Provides for the old name without %%_isa