#1 Update 2ping.spec
Closed 4 years ago by filiperosset. Opened 4 years ago by fab.
rpms/ fab/2ping master  into  master

file modified
+12 -8
@@ -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 @@ 

  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 @@ 

  %{_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

  

  • Update to latest upstream release 4.3

Note: Sources are not updated.

Update to latest upstream release 4.3

hi Fabian, thanks for your PR. I didn't noticed your PR when I updated the package, now it's fixed and the credits are here :)

https://src.fedoraproject.org/rpms/2ping/c/15c99a5fd77bd2771686ae095436fafc2b499b77?branch=master

Pull-Request has been closed by filiperosset

4 years ago