diff --git a/lyx.changes b/lyx.changes index 066774d..251c88c 100644 --- a/lyx.changes +++ b/lyx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 28 19:37:33 UTC 2018 - cornelis@solcon.nl + +- Install bash-completion in the right directory (as indicated by + rpmlint. + ------------------------------------------------------------------- Mon Aug 27 20:33:13 UTC 2018 - cornelis@solcon.nl diff --git a/lyx.spec b/lyx.spec index 27765d0..d697fa6 100644 --- a/lyx.spec +++ b/lyx.spec @@ -150,7 +150,7 @@ ln -s %{_datadir}/lyx/tex $RPM_BUILD_ROOT$TEXMF/tex/latex/lyx install -p -D -m 0644 lib/appdata.xml %{buildroot}%{_datadir}/appdata/lyx.appdata.xml -install -p -D -m 0644 lib/scripts/bash_completion %{buildroot}%{_sysconfdir}/bash_completion.d/lyx +install -p -D -m 0644 lib/scripts/bash_completion %{buildroot}%{_datadir}/bash-completion/completions/lyx %suse_update_desktop_file lyx Office WordProcessor @@ -185,6 +185,6 @@ install -p -D -m 0644 lib/scripts/bash_completion %{buildroot}%{_sysconfdir}/bas %{_mandir}/man1/lyx.1%{ext_man} %{_mandir}/man1/lyxclient.1%{ext_man} %{_mandir}/man1/tex2lyx.1%{ext_man} -%{_sysconfdir}/bash_completion.d/lyx +%{_datadir}/bash-completion/completions/lyx %changelog