On Mon, Jun 18, 2018 at 5:37 AM Jason L Tibbitts III <tibbs@xxxxxxxxxxx> wrote: > > >>>>> "RM" == Robert-André Mauchin <zebob.m@xxxxxxxxx> writes: > > RM> I've just discovered %udev_rules_update though a review. Equates to > RM> %nil in F28 and udevadm control --reload >/dev/null 2>&1 in > RM> F27. Pretty neat. > > Would be really neat if these actually got documented somewhere. And > unfortunately having a macro like that doesn't help all that much > because you still end up having to conditionalize the scriptlet > dependencies and usually the scriptlet itself for the distro version > (assuming you insist on keeping the same spec for each branch). But at > least most of it will just go away after F27 goes EOL. > > Handling the complete set of cases is what makes the ldconfig macros so > complicated. > In most cases, it was not necessary even before, since udev watches the rules directory with inotify and reloads automatically. There are only a couple of special cases where this doesn't kick in (mainly if the rule called another program and that program was updated), and that's where the file trigger helps with it. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx/message/3SO5EJZ7HDVKT2UGVOEY2ULS6WDV2RF3/