#854 Broken links and updates needed for scriptlets Guidelines
Closed: fixed 3 months ago by ignatenkobrain. Opened 4 months ago by avigne.

Page packaging-guidelines/Scriptlets/ , 2 links at least are broken
- http://www.rpm.org/wiki/FileTriggers
- https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/Packaging/UsersAndGroups

I would love to see this chapter updated, as I feel some information is misleading to a NOOB packager like me.
Particularly, I wonder what should I do for Texinfo ?

Regards, Alain

These broken links should hopefully be fixed in PR #862.

Hi @avigne. The broken links are now fixed. Perhaps the title of this bug should be updated and the question about texinfo clarified?

Thanks for the corrections.

Here are some additional suggestions

  1. https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_syntax
    - Typo "aith an argument." iso "with an argument."
    - Typo "$1 as 0.." iso "$1 as 0."
    - Typo "owever" iso "However"
    - https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#Scriptlet_Ordering link should be https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_ordering (or the other way around). The link is not ensured, ATM.

  2. https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_linker_configuration_files
    - The example says "%post -p /sbin/ldconfig", while this change: https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets is in effect now ?
    Can you clarify the situation in the documentation ?

  3. https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_epel_notes
    "follow the instructions found here: Packaging:EPEL#GConf" => missing link ?

  4. https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_texinfo
    I understand the whole paragraph is not useful anymore for Fedora > 27. I suggest to remove the () around "(In Fedora 28 and newer, this is done automatically and no scriptlets are required.)", or better:
    Explicitly start the paragraph saying this is not needed anymore for Fedora > 27.

  5. https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd
    - "FESCo’s policy here: Packaging:DefaultServices." => missing link
    - "Packaging:DefaultServices[ Fedora preset policy]." => missing link

Thank you for your time.
Best regards

@avigne I've pushed necessary changes. Thanks for report!

Metadata Update from @ignatenkobrain:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

3 months ago

Login to comment on this ticket.