Skip to content

Commit

Permalink
Merge branch 'main' into joslobo/merge-for-may-update-2
Browse files Browse the repository at this point in the history
  • Loading branch information
jslobodzian committed May 26, 2023
2 parents d0c84d3 + 1e870f6 commit 19f52d3
Show file tree
Hide file tree
Showing 9 changed files with 7,871 additions and 20 deletions.
2 changes: 1 addition & 1 deletion SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions SPECS/LICENSES-AND-NOTICES/data/licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -2182,6 +2182,7 @@
"livepatch-5.15.107.1-1.cm2",
"livepatch-5.15.110.1-1.cm2",
"livepatch-5.15.111.1-1.cm2",
"livepatch-5.15.112.1-1.cm2",
"livepatch-5.15.94.1-1.cm2",
"livepatch-5.15.94.1-1.cm2-signed",
"livepatch-5.15.95.1-1.cm2",
Expand Down
22 changes: 4 additions & 18 deletions SPECS/influx-cli/influx-cli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Summary: CLI for managing resources in InfluxDB
Name: influx-cli
Version: 2.6.1
Release: 7%{?dist}
Release: 8%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
Expand Down Expand Up @@ -46,17 +46,6 @@ BuildRequires: systemd-rpm-macros
%description
CLI for managing resources in InfluxDB v2.

%package bash-completion
Summary: Bash Completion for %{name}
Group: Productivity/Databases/Servers
Requires: bash-completion
Supplements: (%{name} and bash-completion)
BuildArch: noarch

%description bash-completion
The official bash completion script for influx. It includes support
for every argument that can currently be passed to influx.

%package zsh-completion
Summary: ZSH Completion for %{name}
Group: Productivity/Databases/Servers
Expand All @@ -80,9 +69,6 @@ go build -mod vendor -ldflags="-X main.version=%{version}" -o bin/influx ./cmd/i
mkdir -p %{buildroot}%{_bindir}
install -D -m 0755 bin/influx %{buildroot}%{_bindir}/

mkdir -p %{buildroot}/%{_datadir}/bash-completion/completions
bin/influx completion bash > %{buildroot}/%{_datadir}/bash-completion/completions/influx

mkdir -p %{buildroot}/%{_datadir}/zsh/site-functions
bin/influx completion zsh > %{buildroot}/%{_datadir}/zsh/site-functions/_influx

Expand All @@ -91,13 +77,13 @@ bin/influx completion zsh > %{buildroot}/%{_datadir}/zsh/site-functions/_influx
%doc README.md CHANGELOG.md
%{_bindir}/influx

%files bash-completion
%{_datadir}/bash-completion

%files zsh-completion
%{_datadir}/zsh

%changelog
* Thu May 25 2023 Mykhailo Bykhovtsev <mbykhovtsev@microsft.com> - 2.6.1-8
- Removed bash-completion subpackage since the script produced is included in original bash-completion.

* Wed Apr 05 2023 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 2.6.1-7
- Bump release to rebuild with go 1.19.8

Expand Down
Loading

0 comments on commit 19f52d3

Please sign in to comment.