From f0a1c430d9626d10c173b0161ae0591311869f5c Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Jan 24 2016 09:11:27 +0000 Subject: Minor update for RHEL6 bash-completion --- diff --git a/the_silver_searcher.spec b/the_silver_searcher.spec index fe538fd..bab47ac 100644 --- a/the_silver_searcher.spec +++ b/the_silver_searcher.spec @@ -1,6 +1,9 @@ %global commit 36754027ac4f44c1d4329ee2b4fa1b112b6c3e45 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global bashcompdir %(pkg-config --variable=completionsdir bash-completion) +%if "%{bashcompdir}" == "" +%define compdir "/etc/bash_completion.d" +%endif Name: the_silver_searcher Version: 0.31.0