--excludedocs and packaging guidelines?

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

 



So a while back there seems to have been agreement that runtime shouldn't depend on anything marked as %doc because it could be not installed in cases where --excludedocs is used. For this reason for example, we moved the RPM GPG keys out of %doc.

http://fedoraproject.org/wiki/Packaging/Guidelines
But I don't see any such rule or even a suggestion in the packaging guidelines. Should it be in there?

Furthermore I wonder if there should be any rule or suggestion of how install-info should be used within a %post scriptlet. I see some packages redirect the output of install-info to /dev/null, and install-info's man page also describes a --quiet option. Might we recommend in guidelines the use of this to suppress the warning that happens when a package is installed with --excludedocs?

Warren Togami
wtogami@xxxxxxxxxx

  Installing: info                         ##################### [ 61/354]
install-info: No such file or directory for /usr/share/info/info-stnd.info
  Installing: readline                     ##################### [ 70/354]
install-info: No such file or directory for /usr/share/info/history.info.gz
install-info: No such file or directory for /usr/share/info/rluserman.info.gz
  Installing: findutils                    ##################### [ 76/354]
install-info: No such file or directory for /usr/share/info/find.info.gz
  Installing: sed                          ##################### [ 77/354]
install-info: No such file or directory for /usr/share/info/sed.info.gz
  Installing: libidn                       ##################### [ 78/354]
install-info: No such file or directory for /usr/share/info/libidn.info.gz
  Installing: parted                       ##################### [ 80/354]
install-info: No such file or directory for /usr/share/info/parted.info.gz
  Installing: cpio                         ##################### [ 82/354]
install-info: No such file or directory for /usr/share/info/cpio.info.gz
  Installing: tar                          ##################### [ 91/354]
install-info: No such file or directory for /usr/share/info/tar.info.gz
  Installing: pinentry                     ##################### [ 93/354]
install-info: No such file or directory for /usr/share/info/pinentry.info
  Installing: which                        ##################### [ 94/354]
install-info: No such file or directory for /usr/share/info/which.info.gz
  Installing: cpp                          ##################### [ 95/354]
install-info: No such file or directory for /usr/share/info/cpp.info.gz
  Installing: diffutils                    ##################### [124/354]
install-info: No such file or directory for /usr/share/info/diff.info.gz
  Installing: coreutils                    ##################### [165/354]
install-info: No such file or directory for /usr/share/info/coreutils.info
  Installing: dirmngr                      ##################### [191/354]
install-info: No such file or directory for /usr/share/info/dirmngr.info.gz
  Installing: gnupg2                       ##################### [192/354]
install-info: No such file or directory for /usr/share/info/gnupg.info
  Installing: gnash                        ##################### [217/354]
install-info: No such file or directory for /usr/share/info/gnash_ref.info
install-info: No such file or directory for /usr/share/info/gnash_user.info

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux