bump version
create %{_sysconfdir}/bash_completion.d and move the file
This commit is contained in:
parent
e2ab1a72bd
commit
96b6e37d7f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user