Improve spec for fedora

This commit is contained in:
Jan Synacek 2012-08-22 07:32:59 +02:00
parent 99b543e3ac
commit 87459a13e9

View File

@ -1,7 +1,7 @@
Summary: Network monitoring tools including ping
Name: iputils
Version: 20101006
Release: 17%{?dist}
Release: 18%{?dist}
License: BSD
URL: http://www.skbuff.net/iputils
Group: System Environment/Daemons
@ -46,7 +46,7 @@ Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
BuildRequires: systemd-units
Conflicts: filesystem < 3
Requires: filesystem >= 3
Provides: /bin/ping
Provides: /bin/ping6
Provides: /sbin/arping
@ -107,8 +107,6 @@ gcc -Wall $RPM_OPT_FLAGS ifenslave.c -o ifenslave
make -C doc man
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
@ -191,6 +189,9 @@ fi
%{_sysconfdir}/rc.d/init.d/rdisc
%changelog
* Wed Aug 22 2012 Jan Synáček <jsynacek@redhat.com> - 20101006-18
- Improve spec for fedora
* Mon Jul 23 2012 Jan Synáček <jsynacek@redhat.com> 20101006-17
- Minor update: capabilities patch