On Fri, 15 Mar 2013 17:38:53 +0100
Lukáš Nykrýn <lnykryn(a)redhat.com> wrote:
After usr move packages should not install files to /sbin.
Unfortunately there is a lot of packages requiring /sbin/service,
which was recently moved to /usr/sbin/, and these packages were
uninstallable. As a workaround I have put Provides: /sbin/service in
the initscript spec, but I think that we should do a proper fix.
So if your package is in following list, please change your Reguires
to /usr/sbin/service.
To clarify, this affects only f19 and f20, right?
So,
%if 0%{?rhel} > 6 || 0%{?fedora} > 18
Requires: /usr/sbin/service
%else
Requires: /sbin/service
%endif
should work as a portable means of doing this?
Thanks
Lukas
kevin