replace tabs with spaces (again)
The spec file has seen tabs versus spaces fixes a number of times now. In096bf89
(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.
This commit is contained in:
parent
869be6c50b
commit
4cc3a95149
62
rpmlint.spec
62
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
|
||||
|
Loading…
Reference in New Issue
Block a user