From 4cc3a95149f194e4b50ee024b430a2f80e61e282 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Tue, 4 Oct 2022 11:23:38 -0400 Subject: [PATCH] replace tabs with spaces (again) The spec file has seen tabs versus spaces fixes a number of times now. In 096bf89 (2.0.0, 2021-06-03), the spec file was rewritten and all spaces were replaced with tabs in the tags. Previous fixes included: - dbfdbf0 (Fix mixed-use-of-spaces-and-tabs warning (in this spec file), 2018-06-17) - c74c9bf (Fix mixed-use-of-spaces-and-tabs warning, 2018-05-03) - 85118ac (... Keep consistent between spaces and tabs, 2005-03-04) Replace tabs once again as they are not commonly used in spec files and lead to rpmlint warnings. If we cannot avoid such warnings here, it's a bit silly to expect others to do so. --- rpmlint.spec | 62 ++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) 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