The perl install process was updated to remove the need for ExtUtils::MakeMaker. The main change for us is setting perllibdir to keep the files installed in %{perl_vendorlib}. Manpages for non-public portions of the Git perl modules are no longer built. Anyone who wishes to make use of these modules can read the source files or use pod2man. Set NO_PERL_CPAN_FALLBACKS to ensure we don't package the bundled fallback modules. Also drop now-unneeded commands to remove *.bs, .packlist, and perllocal.pod files. The new install method does not produce these artifacts.
26 lines
1.2 KiB
Plaintext
26 lines
1.2 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("perl-Git-SVN.noarch: 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")
|