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