Accepting request 415784 from home:jengelh:branches:network:utilities

- Make rpmlint happy by avoiding installation in %build.

OBS-URL: https://build.opensuse.org/request/show/415784
OBS-URL: https://build.opensuse.org/package/show/network:utilities/2ping?expand=0&rev=5
This commit is contained in:
Jiri Slaby 2016-07-29 10:46:00 +00:00 committed by Git OBS Bridge
parent dd377f8f6d
commit 4b581fb394
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jul 29 09:06:35 UTC 2016 - jengelh@inai.de
- Make rpmlint happy by avoiding installation in %build.
-------------------------------------------------------------------
Sun Jul 24 12:53:10 UTC 2016 - p.drouand@gmail.com

View File

@ -42,12 +42,12 @@ a 2ping client to determine which direction packet loss occurs.
%build
python setup.py build
install -d -m 0755 %{buildroot}%{_mandir}/man1
install -m 0644 doc/2ping.1 %{buildroot}%{_mandir}/man1/2ping.1
install -m 0644 doc/2ping.1 %{buildroot}%{_mandir}/man1/2ping6.1
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
install -d -m 0755 %{buildroot}%{_mandir}/man1
install -m 0644 doc/2ping.1 %{buildroot}%{_mandir}/man1/2ping.1
install -m 0644 doc/2ping.1 %{buildroot}%{_mandir}/man1/2ping6.1
%check
python setup.py test