!3 修复因缺少依赖导致编译失败问题

From: @wu-leilei
Reviewed-by: @hht8,@myeuler
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2021-06-15 02:33:27 +00:00 committed by Gitee
commit 4aad29cabf

View File

@ -2,13 +2,13 @@
Name: ipwatchd
Version: 1.3.0
Release: 2
Release: 3
Summary: IPwatchD is a simple daemon that analyses all incoming ARP packets in order to detect IP conflicts on Linux
License: GPLv2
URL: https://ipwatchd.sourceforge.io/
Source0: https://github.com/jariq/IPwatchD/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc autoconf automake libnet-devel libpcap-devel
BuildRequires: gcc autoconf automake libnet-devel libpcap-devel systemd
%description
IPwatchD can be configured to listen on one or more interfaces (alias interfaces are also supported) in active or passive mode. In active mode it protects your host before IP takeover by answering Gratuitous ARP requests received from conflicting system. In passive mode it just records information about conflict through standard syslog interface.
@ -44,6 +44,9 @@ mv %{buildroot}/lib/systemd/system/* %{buildroot}/%{_unitdir}
%changelog
* Mon Jun 07 2021 wulei <wulei80@huawei.com>
- fixes failed: File must begin with "/": %{_unitdir}/ipwatchd.server
* Tue Oct 13 2020 liqingqing_1229 <liqingqing3@huawei.com>
- update source0