[nmbscan] remove dependency on net-tools
rebus
rebus at fedoraproject.org
Fri Jan 27 20:14:42 UTC 2012
commit f619c7d679a01fa32d453d2adb99a5fbb4480d10
Author: Michal Ambroz <rebus at seznam.cz>
Date: Fri Jan 27 21:13:53 2012 +0100
remove dependency on net-tools
nmbscan.spec | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/nmbscan.spec b/nmbscan.spec
index c38403d..203b7a5 100644
--- a/nmbscan.spec
+++ b/nmbscan.spec
@@ -1,6 +1,6 @@
Name: nmbscan
Version: 1.2.6
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: NMB/SMB network scanner
Group: Applications/Internet
@@ -8,12 +8,16 @@ License: GPLv2
URL: http://nmbscan.g76r.eu/
Source0: http://nmbscan.g76r.eu/down/%{name}-%{version}.tar.gz
Source1: %{name}.1
+
+#remove dependency on deprecated arp tool, use ip neigh instead
+Patch0: %{name}-1.2.6-arp.patch
+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: bind-utils
Requires: iputils
-Requires: net-tools
+Requires: iproute
Requires: samba-client
@@ -31,6 +35,7 @@ hosts lists maintained by master browsers.
%prep
%setup -q -c %{name}-%{version}
+%patch -p 1 -b .arp
%build
@@ -57,6 +62,10 @@ rm -rf %{buildroot}
%changelog
+* Fri Jan 27 2012 Michal Ambroz <rebus AT seznam.cz> - 1.2.6-4
+- patched tp use "ip neigh" rather than arp for ARP resolution
+- Patch from Jiri Popelka <jpopelka at redhat.com>
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list