Skip to content

Release 2.5.0

Compare
Choose a tag to compare
@danigm danigm released this 20 Oct 07:16
· 193 commits to main since this release
2.5.0

RPMLint 2.5

This is a minor feature release with the following improvements:

  • New check for python packages called PythonCheck with new warnings and
    errors:
    python-module-def, python-sitelib-glob-in-files,
    python-doc-in-package, python-tests-in-site-packages,
    python-doc-in-site-packages, python-src-in-site-packages,
    python-missing-require, python-leftover-require,
    python-pyc-multiple-versions and python-sphinx-doctrees-leftover.
  • Do not consider files-duplicate for SMALL files (configurable with
    DuplicatesMinSize that's 4 bytes by default)
  • dump_stats.py: add one more category for filtering
  • Remove shared-library-without-dependency and library-not-linked-against-libc
    (#969)
  • Relax no-binary and noarch-with-lib64 checks, detect symlinks in /usr/lib64
    as binaries.
  • Support filtering of warnings/errors based on title
  • Add new check: patchable-function-entry-in-archive
  • SpecCheck: Improve patch applied regex to detect %patch -Pn and %patch n
  • Adjust for rpm-4.19.0 API changes
  • BinariesCheck: Allow ELF prefix in magic string
  • Add iso_15924 to LANGUAGES so now language codes like zh_Hant are detected
    as valid
  • Add new check to detect links to scripts, symlink-to-binary-with-shebang
  • Improve help in rpmdiff

Development Improvements:

  • Improved the test framework so now it's easier to write simple tests.
  • Migrate metadata from setup.py to pyproject.toml
  • Releasing rpmlint as pre-commit hook

I want to thank the following new contributors for their efforts in this release:
@afrid18, @bkmgit, @cyungmann, @computersalat, @emilianolangella,
@fabiobarkoski, @jpodivin, @NeerajGartia21 and @Pi-Cla.

Full author list with number of (non-merge) commits:

49	Daniel Garcia Moreno
43	Martin Liska
38	afrid18
10	Todd Zullinger
 3	ChrisWi
 3	fabiobarkoski
 2	Ondřej Súkup
 1	Benson Muite
 1	Chris Yungmann
 1	Emiliano Langella
 1	Jan Engelhardt
 1	Jiri Podivin
 1	LGTM Migrator
 1	Matthias Gerstner
 1	Miro Hrončok
 1	Neeraj Gartia
 1	Pi-Cla