From 295ab1072e3168e270506774e348ce471703f5e6 Mon Sep 17 00:00:00 2001 From: Leo Zhang Date: Tue, 18 Sep 2018 14:52:33 +0800 Subject: [PATCH] fix rpmbuild error --- the_silver_searcher.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/the_silver_searcher.spec.in b/the_silver_searcher.spec.in index 0d5c1458b..445bdec8f 100644 --- a/the_silver_searcher.spec.in +++ b/the_silver_searcher.spec.in @@ -1,5 +1,5 @@ %define _bashcompdir %_sysconfdir/bash_completion.d - +%define _zshcompdir %{_datadir}/zsh/site-functions Name: the_silver_searcher Version: @VERSION@ @@ -62,7 +62,7 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/* %config %{_bashcompdir}/ag.bashcomp.sh %config %{_datadir}/%{name}/completions/ag.bashcomp.sh - +%config %{_datadir}/zsh/site-functions/_the_silver_searcher %changelog * Thu Dec 5 2013 Emily Strickland - 0.18.1-1