From 21c51c4c422fac001f2fa12de1f6b88dd2e98d03 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Sun, 29 Oct 2017 12:52:00 -0400 Subject: [PATCH] ignore common jargon words in spellcheck --- rpmlint.config | 3 +++ rpmlint.spec | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rpmlint.config b/rpmlint.config index 2b135e1..7447203 100644 --- a/rpmlint.config +++ b/rpmlint.config @@ -437,6 +437,9 @@ addFilter(r"invalid-url .*github\.com/.*HTTP Error 403") # They automatically include the package name and are always # quite long. addFilter("-debuginfo.* description-line-too-long") +# ignore "common" jargon words +# https://bugzilla.redhat.com/show_bug.cgi?id=1424684#c9 +addFilter(r"spelling-error.* \b(runtime|Runtime|metadata|cryptographic|multi|linux|filesystem|filesystems|backend|backends|userspace|addon|wayland|Wayland|util|utils|lossless|virtualization|toolkits|libvirtd|crypto|glyphs|GStreamer|http|extensibility|codec|codecs|truetype|scalable|pluggable|pixbuf|Kerberos|customizable|bitstream|tcp|libXss|libs|libc|encodings|GLib|udev|posix|libpng|glapi|gbm|freedesktop|spi|realtime|preprocessor|libaudit|hypervisor|embeddable|distributable|devel|config|cairo|bootloader|adaptors|pragma|passphrase|malloc|libvirt|libmagic|io|datetime|boolean|argparse|py|pinentry|namespace|middleware|lowlevel|libxcb|libudev|libsoup|libgcrypt|libcom|iSCSI|initramfs|GObject|executables|dialogs|checkpolicy|bitmapped|assistive)\b") bad_crypto_warning = \ '''This application package calls a function to explicitly set crypto ciphers diff --git a/rpmlint.spec b/rpmlint.spec index 84e7444..c3f29aa 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -16,7 +16,7 @@ Name: rpmlint Version: 1.10 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Tool for checking common errors in RPM packages Group: Development/Tools License: GPLv2 @@ -127,6 +127,9 @@ make check PYTHON=%{python} PYTEST=%{pytest} FLAKE8=%{flake8} %{_mandir}/man1/rpmlint.1* %changelog +* Sun Oct 29 2017 Tom Callaway - 1.10-5 +- ignore common jargon words in spellcheck + * Sun Oct 29 2017 Tom Callaway - 1.10-4 - fix SSL_CTX_set_cipher_list waiver - use raw strings in config file to silence python3 deprecation warnings