Accepting request 935989 from home:Orville:Devel

- mark _service as disabled

OBS-URL: https://build.opensuse.org/request/show/935989
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/glab?expand=0&rev=2
This commit is contained in:
Orville Q. Song
2021-12-06 11:47:45 +00:00
committed by Git OBS Bridge
parent 98bd7926ec
commit c4813e7925
5 changed files with 14 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ License: MIT
Group: Development/Tools/Other
URL: https://github.com/profclems/glab
Source0: %{name}-%{version}.tar.xz
Source1: %{name}-vendor.tar.gz
Source1: %{name}-vendor.tar.xz
BuildRequires: golang-packaging
BuildRequires: golang(API) >= 1.16
BuildRequires: %{python_module Sphinx}
@@ -100,9 +100,9 @@ go run -v -p 4 -x -mod=vendor ./cmd/gen-docs/ -m --path ./docs/build/man
gzip -r ./docs/build/man
# Generate completion files
go run -v -p 4 -x -mod=vendor ./cmd/glab/ completion -s bash > glab.bash
go run -v -p 4 -x -mod=vendor ./cmd/glab/ completion -s zsh > glab.zsh
go run -v -p 4 -x -mod=vendor ./cmd/glab/ completion -s fish > glab.fish
go run -v -p 4 -x -mod=vendor ./cmd/glab/ completion -s bash > %{name}.bash
go run -v -p 4 -x -mod=vendor ./cmd/glab/ completion -s zsh > %{name}.zsh
go run -v -p 4 -x -mod=vendor ./cmd/glab/ completion -s fish > %{name}.fish
%install
%goinstall
@@ -142,5 +142,4 @@ install -D -m0644 %{name}.bash %{buildroot}%{_datadir}/bash-completion/completio
%dir %{_datadir}/zsh/
%{_datadir}/zsh/site-functions/
%changelog