Re: Mass changes to packaging

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

 



On 08/23/2012 12:16 PM, Tom Lane wrote:
> Surely F18 could define %systemd_post_enable as a synonym for
> %systemd_post.  The entire point of this thread is to make things
> simpler for packager maintainers, not load them down with cross-branch
> differences.  (If I wanted to have a version-dependent %if in there,
> I could have done that without any help from the macros.)

Unfortunately, it isn't that easy. Please note that I had to redefine
%systemd_post for F16 and F17 in order to simplify it to that. The
%systemd_post_enable logic doesn't apply in F18+, because there is no
longer any explicit enablement at the package level. The two are not
synonymous.

FWIW, I actually think that doing it as a preset policy makes more
sense, because it allows for that decision to be made depending on the
usecase, with a set of system-wide defaults provided by Fedora that can
be overridden. It also simplifies the scriptlets significantly in the
F18+ universe.

~tom

==
Fedora Project
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux