diff --git a/rpmlint.spec b/rpmlint.spec index 9afaa2f..53bbcb0 100644 --- a/rpmlint.spec +++ b/rpmlint.spec @@ -1,42 +1,42 @@ # pass --without tests to skip the test suite %bcond_without tests -Name: rpmlint -Version: 2.3.0 -Release: 1%{?dist} -Summary: Tool for checking common errors in RPM packages -License: GPL-2.0-or-later -URL: https://github.com/rpm-software-management/rpmlint -Source0: %{url}/archive/%{version}/rpmlint-%{version}.tar.gz +Name: rpmlint +Version: 2.3.0 +Release: 1%{?dist} +Summary: Tool for checking common errors in RPM packages +License: GPL-2.0-or-later +URL: https://github.com/rpm-software-management/rpmlint +Source0: %{url}/archive/%{version}/rpmlint-%{version}.tar.gz # Taken from https://github.com/rpm-software-management/rpmlint/tree/main/configs/Fedora -Source1: fedora.toml -Source2: licenses.toml -Source3: scoring.toml -Source4: users-groups.toml -Source5: warn-on-functions.toml +Source1: fedora.toml +Source2: licenses.toml +Source3: scoring.toml +Source4: users-groups.toml +Source5: warn-on-functions.toml -BuildArch: noarch -BuildRequires: python3-devel -BuildRequires: %{py3_dist setuptools} -BuildRequires: %{py3_dist pybeam} -BuildRequires: %{py3_dist pyxdg} -BuildRequires: %{py3_dist rpm} -BuildRequires: %{py3_dist toml} -BuildRequires: %{py3_dist zstandard} -Requires: devscripts-checkbashisms, dash, rpm-build +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: %{py3_dist setuptools} +BuildRequires: %{py3_dist pybeam} +BuildRequires: %{py3_dist pyxdg} +BuildRequires: %{py3_dist rpm} +BuildRequires: %{py3_dist toml} +BuildRequires: %{py3_dist zstandard} +Requires: devscripts-checkbashisms, dash, rpm-build # Technically works without it, but results are better with it. -Requires: /usr/bin/appstream-util +Requires: /usr/bin/appstream-util # E: fatal error while reading ...: [Errno 2] No such file or directory: 'desktop-file-validate' -Requires: /usr/bin/desktop-file-validate -Requires: %{py3_dist pyenchant} +Requires: /usr/bin/desktop-file-validate +Requires: %{py3_dist pyenchant} # tests -BuildRequires: /usr/bin/appstream-util -BuildRequires: %{py3_dist pytest} -BuildRequires: %{py3_dist pytest-xdist} -BuildRequires: %{py3_dist pyenchant} -BuildRequires: %{py3_dist file-magic} -BuildRequires: devscripts-checkbashisms, dash, hunspell-cs, hunspell-en-US -BuildRequires: /usr/bin/desktop-file-validate +BuildRequires: /usr/bin/appstream-util +BuildRequires: %{py3_dist pytest} +BuildRequires: %{py3_dist pytest-xdist} +BuildRequires: %{py3_dist pyenchant} +BuildRequires: %{py3_dist file-magic} +BuildRequires: devscripts-checkbashisms, dash, hunspell-cs, hunspell-en-US +BuildRequires: /usr/bin/desktop-file-validate %description rpmlint is a tool for checking common errors in RPM packages. Binary