Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-101500

vte291 should not require vte-profile: users may well not want /etc/profile.d/* installed

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • vte291
    • None
    • No
    • Low
    • rhel-display-desktop-foundation
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • All
    • None

      I don't want to have /etc/profile.d/vte.sh on my machine: I don't want these functions to be loaded by my shells.

      However, "dnf remove vte-profile" says it'll remove 70 packages.

      The reason is that vte291, the library implementing a terminal emulator widget, requires it.
      Well, not really requires - it has "Requires: vte-profile" line in the specfile, even though it'll work just fine without vte-profile package.

      Specfile actually supports weaker forms of conveying that a package is recommended, but not required to be installed. See https://rpm.org/docs/4.20.x/manual/spec.html:

      Recommends (since rpm >= 4.13)
      Suggests

      See also https://docs.fedoraproject.org/en-US/packaging-guidelines/WeakDependencies/

      Please change vte291.spec along the lines of:

      -Requires: vte-profile
      +Suggests: vte-profile

              chergert@redhat.com Christian Hergert
              rhn-support-dvlasenk Denys Vlasenko
              Christian Hergert Christian Hergert
              Michal Odehnal Michal Odehnal
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: