Accepting request 780271 from home:fcrozat:branches:openSUSE:Tools

- Ship fish completion file.

OBS-URL: https://build.opensuse.org/request/show/780271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=323
This commit is contained in:
Marco Strigl 2020-03-04 08:38:57 +00:00 committed by Git OBS Bridge
parent d60baba78b
commit a58e75e0bd
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 28 12:27:27 UTC 2020 - Frederic Crozat <fcrozat@suse.com>
- Ship fish completion file.
-------------------------------------------------------------------
Tue Feb 11 16:39:17 UTC 2020 - Fabian Vogt <fvogt@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package osc
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -171,6 +171,8 @@ install -Dm0755 dist/osc.complete %{buildroot}%{_prefix}/lib/osc/complete
install -Dm0755 dist/osc.complete %{buildroot}%{_libdir}/osc/complete
%endif
install -Dm0755 osc.fish %{buildroot}%{_datadir}/fish/completions
install -m644 %{macros_file} -D %{buildroot}%{_sysconfdir}/rpm/%{macros_file}
%if 0%{?suse_version} >= 1500
@ -206,6 +208,7 @@ rm -rf %{buildroot}
%else
%{_libdir}/osc
%endif
%{_datadir}/fish
%dir %{osc_plugin_dir}
%changelog