Accepting request 1080796 from home:dimstar:Factory
- Only move bash-completion from /etc to /usr/share if this was not properly installed. There was an error that bash-completion-devel did not actually contain the .cmake file which in turn resulted in this package mis-installing despite the correct build deps. OBS-URL: https://build.opensuse.org/request/show/1080796 OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=62
This commit is contained in:
parent
057634e762
commit
85f743ea6c
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 20 10:28:50 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Only move bash-completion from /etc to /usr/share if this was not
|
||||
properly installed. There was an error that
|
||||
bash-completion-devel did not actually contain the .cmake file
|
||||
which in turn resulted in this package mis-installing despite the
|
||||
correct build deps.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 11 12:23:35 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
|
8
ldc.spec
8
ldc.spec
@ -234,9 +234,11 @@ popd
|
||||
%install
|
||||
%cmake_install
|
||||
# Install bash completion in the right folder
|
||||
install -d %{buildroot}%{_bashcompletionsdir}
|
||||
mv %{buildroot}%{_sysconfdir}/bash_completion.d/ldc2 %{buildroot}%{_bashcompletionsdir}
|
||||
rmdir %{buildroot}%{_sysconfdir}/bash_completion.d/
|
||||
if [ ! -d %{buildroot}%{_bashcompletionsdir} ]; then
|
||||
install -d %{buildroot}%{_bashcompletionsdir}
|
||||
mv %{buildroot}%{_sysconfdir}/bash_completion.d/ldc2 %{buildroot}%{_bashcompletionsdir}
|
||||
rmdir %{buildroot}%{_sysconfdir}/bash_completion.d/
|
||||
fi
|
||||
# Make sure it can find its own libs (help2man runs the binaries)
|
||||
export LD_LIBRARY_PATH="$PWD/build/%_lib"
|
||||
# Build man pages
|
||||
|
Loading…
Reference in New Issue
Block a user