On Wed, Sep 21, 2016 at 5:55 PM, Dominique Leuenberger / DimStar <dimstar@opensuse.org> wrote:
On Wed, 2016-09-21 at 17:37 -0400, Greg Freemyer wrote:
On Wed, Sep 21, 2016 at 4:40 PM, Dominique Leuenberger / DimStar <dimstar@opensuse.org> wrote:
Todd,
On Wed, 2016-09-21 at 16:08 -0400, Todd Rme wrote:
Can we please get some consistent, agreed-upon, publicly- available rules for how update-alternatives should be implemented?
Thanks for raising that issue here - there is indeed a good need for that. And then out documentation should represent this (incl. the examples, which are a wild mix now)
In August there was an extensive thread where we were told repeatedly that the --remove part should go in %preun. All the packages I was working with were in %postun, but I changed them all to %preun as I was told. Now, I have had three packages rejected for putting --remove in %preun, telling me it has to go in %postun instead.
I might have missed that thread and the agreement.
Thread: http://markmail.org/thread/rif6ibserdu5xyhj
The statement of interest: http://markmail.org/message/hpfpw6gu3cnbr pqv
I don't think anyone argued that Andrei was wrong.
That entire thread was more about the confusion around rpmlint being confused and not seing the commands when they were quoted (this has since been fixed imho) - now as you pointed me at it I recall that thread and the fact what has to be a real file and what has to be a ghost file.
By no means did I see this thread as a 'change of current packaging policies' and a request to change everything (a couple packages were mentioned as being wrong, but that was the ones having wrong entries in the %files section, having ghosts where it should be actual links.
Cheers, Dominique
In this message I was specifically told that "update-alternatives --remove should be in %preun, not in %postun ": http://markmail.org/thread/rif6ibserdu5xyhj#query:+page:1+mid:hpfpw6gu3cnbrp... And also here we were told that "You need Requires(preun), not Requires(postun) for update-alternatives " http://markmail.org/thread/rif6ibserdu5xyhj#query:+page:1+mid:sbu3ar6vsdrhch... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org