Packages requires /sbin/service.

Kevin Fenzi kevin at scrye.com
Fri Mar 15 16:47:05 UTC 2013


On Fri, 15 Mar 2013 17:38:53 +0100
Lukáš Nykrýn <lnykryn at 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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20130315/2d05684f/attachment.sig>


More information about the devel mailing list