From 96b6e37d7f2e44d2db2c9ec5f5c7622db68b8596 Mon Sep 17 00:00:00 2001 From: josef radinger Date: Fri, 25 Jan 2019 11:51:47 +0100 Subject: [PATCH] bump version create %{_sysconfdir}/bash_completion.d and move the file --- gmic.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gmic.spec b/gmic.spec index 684548c..1da3523 100644 --- a/gmic.spec +++ b/gmic.spec @@ -125,8 +125,8 @@ ln -s libgmic.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libgmic.so.2 ln -s libcgmic.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libcgmic.so.2 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d -mv $RPM_BUILD_ROOT/%{_datadir}/bash_completion.d/gmic $RPM_BUILD_ROOT/%{_sysconfdir}/bash_completion.d/gmic -rm -rf $RPM_BUILD_ROOT/%{_datadir}/bash_completion.d/ +mv $RPM_BUILD_ROOT/%{_datadir}/bash-completion/completions/gmic $RPM_BUILD_ROOT/%{_sysconfdir}/bash_completion.d/gmic +rm -rf $RPM_BUILD_ROOT/%{_datadir}/bash-completion/completions/ # Sourced files shouldn't be executable chmod -x $RPM_BUILD_ROOT/%{_sysconfdir}/bash_completion.d/gmic