Update 2ping.spec
- Update to latest upstream release 4.3
This commit is contained in:
parent
1316624239
commit
beca6fcafe
1 changed files with 12 additions and 8 deletions
20
2ping.spec
20
2ping.spec
|
|
@ -1,14 +1,15 @@
|
|||
Name: 2ping
|
||||
Version: 4.1
|
||||
Release: 5%{?dist}
|
||||
Version: 4.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Bi-directional ping utility
|
||||
|
||||
License: GPLv2+
|
||||
URL: http://www.finnie.org/software/2ping
|
||||
Source0: http://www.finnie.org/software/%{name}/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
%{?python_provide:%python_provide python3-%{name}}
|
||||
|
||||
%description
|
||||
2ping is a bi-directional ping utility. It uses 3-way pings (akin to TCP SYN,
|
||||
|
|
@ -16,22 +17,22 @@ SYN/ACK, ACK) and after-the-fact state comparison between a 2ping listener and
|
|||
a 2ping client to determine which direction packet loss occurs.
|
||||
|
||||
%prep
|
||||
%setup -n %{name}-%{version}
|
||||
%autosetup -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
install -d -m 0755 %{buildroot}/usr/share/man/man1
|
||||
install -m 0644 doc/2ping.1 %{buildroot}/usr/share/man/man1/2ping.1
|
||||
install -m 0644 doc/2ping.1 %{buildroot}/usr/share/man/man1/2ping6.1
|
||||
install -Dp -m 0644 doc/2ping.1 %{buildroot}/usr/share/man/man1/2ping.1
|
||||
install -Dp -m 0644 doc/2ping.1 %{buildroot}/usr/share/man/man1/2ping6.1
|
||||
|
||||
%check
|
||||
%{__python3} setup.py test
|
||||
|
||||
%files
|
||||
%doc ChangeLog COPYING README
|
||||
%doc ChangeLog README
|
||||
%license COPYING
|
||||
%{python3_sitelib}/*
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/%{name}6
|
||||
|
|
@ -39,6 +40,9 @@ install -m 0644 doc/2ping.1 %{buildroot}/usr/share/man/man1/2ping6.1
|
|||
%{_mandir}/man1/%{name}6.1*
|
||||
|
||||
%changelog
|
||||
* Sat May 25 2019 Fabian Affolter <mail@fabian-affolter.ch> - 4.3-1
|
||||
- Update to latest upstream release 4.3
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue