From 24a4530e99868dc19b997624060a255c9f3a49a5 Mon Sep 17 00:00:00 2001 From: Sergey Zhemoytel Date: Mon, 26 Aug 2024 08:54:47 +0000 Subject: [PATCH] 2.22.0 --- fastfetch.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/fastfetch.spec b/fastfetch.spec index 862631c..8391b72 100644 --- a/fastfetch.spec +++ b/fastfetch.spec @@ -51,6 +51,7 @@ Recommends: ddcutil %if %{secscan} BuildRequires: clamav +BuildRequires: clamav-db BuildRequires: trivy %endif @@ -79,6 +80,16 @@ BuildArch: noarch %description fish-completion %{summary} +%package zsh-completion +Summary: zsh completion files for %{name} +# as Fish is currently in contrib repository, let's make only soft dependency on it. +Recommends: zsh +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description zsh-completion +%{summary} + %prep %setup -q @@ -116,6 +127,9 @@ rm -rf %{buildroot}%{_datadir}/licenses/fastfetch/LICENSE %files fish-completion %{_datadir}/fish/vendor_completions.d/fastfetch.fish +%files zsh-completion +%{_datadir}/zsh/site-functions/_fastfetch + %check %if %{secscan}