From d479601019c0dbe0d491b0ee258ccb5f6425f66d Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Tue, 10 Oct 2023 09:46:45 +0200 Subject: [PATCH] spec: Own zsh completion dirs to mute rpmlint errors --- contrib/osc.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/osc.spec b/contrib/osc.spec index 597e6b18..529a9cbe 100644 --- a/contrib/osc.spec +++ b/contrib/osc.spec @@ -210,6 +210,9 @@ install -Dm0644 oscrc.5 %{buildroot}%{_mandir}/man5/oscrc.5 %{completion_dir_bash}/* %{completion_dir_csh}/* %{completion_dir_fish}/* +%dir %{_datadir}/zsh +%dir %{_datadir}/zsh/functions +%dir %{_datadir}/zsh/functions/Completion %{completion_dir_zsh}/* # osc owns the dirs to avoid the "directories not owned by a package" build error