Compare commits

..

No commits in common. "2796399816812cd8381f5db7de57ec48aae17e9f" and "d3c05034997c6e2cb825ae90c73db7c19295ddab" have entirely different histories.

4 changed files with 27 additions and 61 deletions

Binary file not shown.

BIN
dropwatch-1.5.tar.gz Normal file

Binary file not shown.

View File

@ -1,33 +1,26 @@
Name: dropwatch
Version: 1.5.4
Release: 2
Summary: Kernel dropped packet monitor
Version: 1.5
Release: 7
Summary: Kernel dropped packet monitoring utility
License: GPLv2+
URL: https://github.com/nhorman/dropwatch
Source0: https://github.com/nhorman/dropwatch/archive/v%{version}/%{name}-%{version}.tar.gz
URL: https://linux.die.net/man/1/dropwatch
Source0: https://github.com/nhorman/dropwatch/releases/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: libtool
BuildRequires: kernel-headers
BuildRequires: binutils-devel
BuildRequires: libnl3-devel
BuildRequires: libpcap-devel
BuildRequires: readline-devel
Requires: libnl3
Requires: readline
BuildRequires: autoconf automake binutils-devel kernel-headers
BuildRequires: libnl3-devel libtool pkgconfig readline-devel
Requires: libnl3 readline
%description
dropwatch is an utility to interface to the kernel to monitor for dropped
network packets.
Dropwatch is started in an effort to improve the ability for developers
and system administrator to diagnose problems in the Linux Networking
stack, specifically in our ability to diagnose where packets are getting
dropped.
%package_help
%prep
%autosetup -p1
%autosetup -n %{name}-%{name}-%{version} -p1
%build
./autogen.sh
@ -35,44 +28,21 @@ network packets.
%make_build
%install
%{make_install}
%check
make check
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_bindir}
install -m0755 src/dropwatch %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_mandir}/man1
install -m0644 doc/dropwatch.1 %{buildroot}%{_mandir}/man1
%files
%{_bindir}/dropwatch
%{_bindir}/dwdump
%{_mandir}/man1/dropwatch.1*
%{_mandir}/man1/dwdump.1*
%doc README.md
%license COPYING
%{_bindir}/dropwatch
%files help
%doc README.md
%{_mandir}/man1/dropwatch.1.gz
%changelog
* Mon Sep 25 2023 yanglu <yanglu72@h-partners.com> - 1.5.4-2
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:enable test
* Wed Jun 22 2022 tanyulong <tanyulong@kylinos.cn> - 1.5.4-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update dropwatch to 1.5.4
* Sat Jan 30 2021 xihaochen <xihaochen@huawei.com> - 1.5.3-1
- Type:requirements
- Id:NA
- SUG:NA
- DESC:update dropwatch to 1.5.3
* Thu Sep 10 2020 lunankun <lunankun@huawei.com> - 1.5-8
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix source0 url
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5-7
- Type:bugfix
- Id:NA

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: nhorman/dropwatch
tag_prefix: ^v
seperator: .