Re: [Fedora-packaging] Scriptlet to replace a directory can cause infinite loop in update

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

 



>>>>> Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> writes:

> Let's take a step back. Does it make sense to implement complicated
> and fragile scriptlets in packages?

No, of course not.

> Can we *please* get rid of this footgun that has been a continous
> source of problems?

The mantra on the packaging committee is that we work with the RPM we
have, not the RPM we wish we had.  This has been an issue in RPM since
before Fedora existed and it's still there, so we have little choice but
to adapt.  Even if RPM does start handling this, the need to handle
older releases won't go away for quite some time.

It would be really nice if the scriptlet were at least put in a macro.
That way there would be only one place needing modification to fix an
issue like this, the macro would just be defined to %nil on releases
where it is not needed, and it would be trivial to find packages that
use it for testing and eventual cleanup.

 - J<
-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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