%{!?python3: %global python3 %{__python3}} Name: rpmlint Version: 2.10.0 Release: 0.20261014071652241142.pr1623.37.g5cf8e1a0%{?dist} Summary: Tool for checking common errors in RPM packages License: GPLv2+ URL: https://github.com/rpm-software-management/rpmlint Source0: rpmlint-2.10.0.tar.gz BuildArch: noarch BuildRequires: python3-devel %if 0%{?suse_version} # Unfortunately, these don't get pulled in automatically... BuildRequires: python-rpm-macros BuildRequires: python3-setuptools # For tests BuildRequires: python3-python-magic BuildRequires: python3-pybeam BuildRequires: python3-pyenchant BuildRequires: python3-pytest BuildRequires: python3-pytest-cov BuildRequires: python3-pytest-xdist BuildRequires: python3-pyxdg BuildRequires: python3-rpm BuildRequires: python3-tomli BuildRequires: python3-tomli-w BuildRequires: python3-zstandard BuildRequires: python3-packaging %else BuildRequires: python3dist(setuptools) # For tests BuildRequires: python3dist(file-magic) BuildRequires: python3dist(pybeam) BuildRequires: python3dist(pyenchant) BuildRequires: python3dist(pytest) BuildRequires: python3dist(pytest-cov) BuildRequires: python3dist(pytest-xdist) BuildRequires: python3dist(pyxdg) BuildRequires: python3dist(rpm) BuildRequires: (python3dist(tomli) if python3 < 3.11) BuildRequires: python3dist(tomli-w) BuildRequires: python3dist(zstandard) BuildRequires: python3dist(packaging) %endif # Rest of the test dependencies BuildRequires: dash BuildRequires: /usr/bin/appstream-util BuildRequires: /usr/bin/checkbashisms BuildRequires: /usr/bin/desktop-file-validate %if 0%{?suse_version} BuildRequires: myspell-en_US BuildRequires: myspell-cs_CZ BuildRequires: myspell-fr_FR %else BuildRequires: hunspell-en BuildRequires: hunspell-cs BuildRequires: hunspell-fr %endif %if 0%{?fedora} || 0%{?rhel} >= 8 BuildRequires: glibc-langpack-en %endif %if 0%{?suse_version} BuildRequires: glibc-locale-base %endif %if 0%{?mageia} BuildRequires: locales-en %endif Requires: /bin/bash Requires: /usr/bin/appstream-util Requires: /usr/bin/bzip2 Requires: /usr/bin/checkbashisms Requires: /usr/bin/cpio Requires: /usr/bin/desktop-file-validate Requires: /usr/bin/groff Requires: /usr/bin/gtbl Requires: /usr/bin/ldd Requires: /usr/bin/man Requires: /usr/bin/perl Requires: /usr/bin/readelf Requires: /usr/bin/xz Requires: /usr/bin/zstd # Enable Python dependency generation %{?python_enable_dependency_generator} %description rpmlint is a tool for checking common errors in RPM packages. Binary and source packages as well as spec files can be checked. %prep %autosetup -n rpmlint-2.10.0 %build %py3_build %install %py3_install %check %python3 -m pytest %files %license COPYING %doc README* %{_bindir}/rpmlint %{_bindir}/rpmdiff %{python3_sitelib}/rpmlint* %changelog * Wed Oct 14 2026 Packit - 2.10.0-0.20261014071652241142.pr1623.37.g5cf8e1a0 - Bump github/codeql-action/init from 4.38.1 to 4.38.3 (dependabot[bot]) - Use C.UTF-8 locale for "English environment" if available (Miro Hrončok) - Use the current FSF address in rpmlint license files (Tomáš Chvátal) - build: use SPDX license expression instead of deprecated metadata (Tomáš Chvátal) - Add regression test for incorrect-locale-subdir description (Tomáš Chvátal) - Add missing description for incorrect-locale-subdir (fixes #549) (Tomáš Chvátal) - build: require Python >= 3.11, drop EOL-version shims (Tomáš Chvátal) - tests: drop %%build from single rpmlintrc fixture spec (Tomáš Chvátal) - tests: make rpmlintrc fixture specs parseable by rpm 6.1 (Tomáš Chvátal) - tests: require a non-empty rpmdb for HAS_RPMDB (Tomáš Chvátal) - Bump github/codeql-action/init from 4.38.0 to 4.38.1 (dependabot[bot]) - Bump github/codeql-action/autobuild from 4.38.0 to 4.38.1 (dependabot[bot]) - Bump github/codeql-action/analyze from 4.38.0 to 4.38.1 (dependabot[bot]) - Bump github/codeql-action/autobuild from 4.37.6 to 4.38.0 (dependabot[bot]) - Bump github/codeql-action/init from 4.37.6 to 4.38.0 (dependabot[bot]) - Bump github/codeql-action/analyze from 4.37.6 to 4.38.0 (dependabot[bot]) - configs: Support eln release extension (Jelle van der Waa) - TagsCheck: fix typos (Jelle van der Waa) - TagsCheck: Fix typo 'vesrion' (Jelle van der Waa) - Bump github/codeql-action/autobuild from 4.37.4 to 4.37.6 (dependabot[bot]) - Bump github/codeql-action/init from 4.37.4 to 4.37.6 (dependabot[bot]) - Bump github/codeql-action/analyze from 4.37.4 to 4.37.6 (dependabot[bot])