Re: umask package policy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ville.skytta@xxxxxx (Ville Skyttä) writes:

>> > Using context marked dependencies like Requires(pre) to "solve" this is
>> > abuse, please don't do that.
>> 
>> Why abuse? There is no other way to say 'I require directory /foo before
>> my files will be installed' for a package.
>
> "Requires(pre): /foo" does not say that.  It says "directory /foo is
> required until my %pre script has completed".  See the description in
> the max-rpm snapshot (link in my previous mail).

ok; then a third 'Requires:' should be added. But that's implicated by
'Requires(...)' in the current tools.


> You are using side effects of tools not meant to enforce what you're
> trying to achieve.  In other words, abusing them.  What's wrong with
> plain Requires or PreReq?

'Requires:' does not guarantee that the directory exists when the package
is installed. Semantic of 'PreReq' is not clear to me and afaik, it is
deprecated and should be replaced by 'Requires(...):'.



Enrico


[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux