Require desktop-file-validate to avoid a fatal error when the RPM has .desktop files

This commit is contained in:
Miro Hrončok 2022-08-08 14:10:09 +02:00
parent daaf84eeef
commit 4fb672c59c

View File

@ -2,7 +2,7 @@
Name: rpmlint
Version: 2.2.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Tool for checking common errors in RPM packages
License: GPLv2
URL: https://github.com/rpm-software-management/rpmlint
@ -25,6 +25,8 @@ BuildRequires: %{py3_dist zstd}
Requires: devscripts-checkbashisms, dash, rpm-build
# Technically works without it, but results are better with it.
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}
# tests
BuildRequires: /usr/bin/appstream-util
@ -68,6 +70,9 @@ cp -a %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{buildroot}%{_sysc
%{python3_sitelib}/rpmlint*
%changelog
* Mon Aug 08 2022 Miro Hrončok <mhroncok@redhat.com> - 2.2.0-6
- Require desktop-file-validate to avoid a fatal error when the RPM has .desktop files
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild