A recent discussion on the git list¹ suggested that using symlinks
should be clearer and have no drawbacks (except on filesystems where
symlinks are not well supported, e.g. on Windows).
This shrinks the git-core package by nearly 25% and saves almost 6MB in
the debuginfo package.
See also 6ef5f1f ("Disable cross-directory hardlinks", 2017-11-10).
¹ https://public-inbox.org/git/87y3iwp2z0.fsf@evledraar.gmail.com/#t
25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
from Config import *
|
|
|
|
# the dictionary is a bit limited
|
|
addFilter("git.* spelling-error %description .* subpackages")
|
|
addFilter("git-subtree.* spelling-error %description .* (subdirectory|subproject|subtree)")
|
|
|
|
# We're not misusing %{buildroot} here
|
|
addFilter("git\.(spec|src):.* rpm-buildroot-usage %prep DESTDIR = %{buildroot}")
|
|
|
|
# git-core-doc requires git-core, which provides the symlink target
|
|
addFilter("git(-core-doc)?\..*: W: dangling-relative-symlink /usr/share/doc/git/contrib/hooks ../../../git-core/contrib/hooks")
|
|
|
|
# git requires git-core, which provides the symlink target
|
|
addFilter("git\..*: W: dangling-relative-symlink /usr/libexec/git-core/git-difftool git")
|
|
|
|
# git-gui requires git, which provides the git binary
|
|
addFilter("git-gui.noarch: W: desktopfile-without-binary /usr/share/applications/git-gui.desktop git")
|
|
|
|
# ignore no doc/manpage warnings where we don't expect any documentation
|
|
addFilter("git-(all|core|gnome-keyring)\..*: W: no-documentation")
|
|
addFilter("git-core\..*: W: no-manual-page-for-binary")
|
|
|
|
# nothing provides git-gnome-keyring, it's simply obsolete
|
|
addFilter("git.* obsolete-not-provided git-gnome-keyring")
|