On 25/02/2021 13:58, Richard Shaw wrote:
On Thu, Feb 25, 2021 at 7:39 AM Tom Hughes <t...@compton.nu <mailto:t...@compton.nu>> wrote:

    On 25/02/2021 13:13, Richard Shaw wrote:
     > Per the packaging guidelines these don't seem to be optional:
     >
     >
    
https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd
    
<https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd>

     >
    
<https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd
    
<https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd>>

    Indeed they're not optional, but they're also not missing as a glance
    a the spec file confirms:

    https://src.fedoraproject.org/rpms/sssd/blob/rawhide/f/sssd.spec#_931 
<https://src.fedoraproject.org/rpms/sssd/blob/rawhide/f/sssd.spec#_931>


Ahh, I never thought to look past %files :)

Separate package, but I got a similar daemon-reload warning for unbound-libs, but it was for a timer unit, which are not mentioned in the packaging guidelines.

Warning: The unit file, source configuration file or drop-ins of unbound-anchor.timer changed on disk. Run 'systemctl daemon-reload' to reload units.

You'll get it for literally everything that uses the macros
to try and restart itself if the update has changed the unit
definition in any way because the restart is done before the
reload so the new unit definition is not loaded yet.

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to