- Removed bash completions for bts (conflicts with

bash-completions package).

OBS-URL: https://build.opensuse.org/package/show/system:packagemanager/devscripts?expand=0&rev=18
This commit is contained in:
Martin Wilck 2019-03-29 20:10:42 +00:00 committed by Git OBS Bridge
parent f3cff5615e
commit e34a50cde8
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 29 20:07:00 UTC 2019 - Martin Wilck <mwilck@suse.com>
- Removed bash completions for bts (conflicts with
bash-completions package).
-------------------------------------------------------------------
Thu Mar 28 08:49:53 UTC 2019 - Martin Wilck <mwilck@suse.com>

View File

@ -99,6 +99,10 @@ make %{?_smp_mflags} V=1 \
mkdir -p %{buildroot}%{_mandir}/man1/
install -Dpm 0644 scripts/*.1 -t %{buildroot}%{_mandir}/man1/
## FIXME: bts conflicts with file from bash-completions
## Debian uses ours!
rm -f %{buildroot}%{_datadir}/bash-completion/completions/bts
while read target link; do
if [ -d $(dirname "%{buildroot}$link") ]; then
ln -sf "$target" "%{buildroot}$link"