commit go-containerregistry for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package go-containerregistry for openSUSE:Factory checked in at 2024-06-03 17:43:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go-containerregistry (Old) and /work/SRC/openSUSE:Factory/.go-containerregistry.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "go-containerregistry" Mon Jun 3 17:43:34 2024 rev:6 rq:1178144 version:0.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/go-containerregistry/go-containerregistry.changes 2023-12-28 23:04:36.673345163 +0100 +++ /work/SRC/openSUSE:Factory/.go-containerregistry.new.24587/go-containerregistry.changes 2024-06-03 17:43:36.251344032 +0200 @@ -1,0 +2,5 @@ +Fri May 31 08:04:54 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de> + +- add completion subpackages (bash, fish, zsh) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go-containerregistry.spec ++++++ --- /var/tmp/diff_new_pack.akS7Hn/_old 2024-06-03 17:43:37.067373853 +0200 +++ /var/tmp/diff_new_pack.akS7Hn/_new 2024-06-03 17:43:37.067373853 +0200 @@ -1,7 +1,7 @@ # # spec file for package go-containerregistry # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -57,6 +57,37 @@ <(crane export gcr.io/kaniko-project/executor:v1.6.0-debug - | tar -tvf - | sort) \ <(crane export gcr.io/kaniko-project/executor:v1.7.0-debug - | tar -tvf - | sort) +%package -n crane-bash-completion +Summary: Bash Completion for crane +Group: System/Shells +Requires: bash-completion +Requires: crane = %{version} +Supplements: (crane and bash-completion) +BuildArch: noarch + +%description -n crane-bash-completion +Bash command line completion support for crane. + +%package -n crane-fish-completion +Summary: Fish Completion for crane +Group: System/Shells +Requires: crane = %{version} +Supplements: (crane and fish) +BuildArch: noarch + +%description -n crane-fish-completion +Fish command line completion support for crane. + +%package -n crane-zsh-completion +Summary: Zsh Completion for crane +Group: System/Shells +Requires: crane = %{version} +Supplements: (crane and zsh) +BuildArch: noarch + +%description -n crane-zsh-completion +zsh command line completion support for crane. + %package -n gcrane Summary: GCR-specific variant of crane Group: System/Management @@ -65,6 +96,37 @@ crane is a GCR-specific variant of crane that has richer output for the ls subcommand and some basic garbage collection support. +%package -n gcrane-bash-completion +Summary: Bash Completion for gcrane +Group: System/Shells +Requires: bash-completion +Requires: gcrane = %{version} +Supplements: (gcrane and bash-completion) +BuildArch: noarch + +%description -n gcrane-bash-completion +Bash command line completion support for gcrane. + +%package -n gcrane-fish-completion +Summary: Fish Completion for gcrane +Group: System/Shells +Requires: gcrane = %{version} +Supplements: (gcrane and fish) +BuildArch: noarch + +%description -n gcrane-fish-completion +Fish command line completion support for gcrane. + +%package -n gcrane-zsh-completion +Summary: Zsh Completion for gcrane +Group: System/Shells +Requires: gcrane = %{version} +Supplements: (gcrane and zsh) +BuildArch: noarch + +%description -n gcrane-zsh-completion +zsh command line completion support for gcrane. + %prep %setup -qa1 %autopatch -p1 @@ -84,6 +146,30 @@ rm -v %{buildroot}/%{_bindir}/registry %endif +# create the bash completion file +mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/ +%{buildroot}/%{_bindir}/crane completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/crane + +# create the fish completion file +mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/ +%{buildroot}/%{_bindir}/crane completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/crane.fish + +# create the zsh completion file +mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d/ +%{buildroot}/%{_bindir}/crane completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_crane + +# create the bash completion file +mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/ +%{buildroot}/%{_bindir}/gcrane completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/gcrane + +# create the fish completion file +mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/ +%{buildroot}/%{_bindir}/gcrane completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/gcrane.fish + +# create the zsh completion file +mkdir -p %{buildroot}%{_datarootdir}/zsh_completion.d/ +%{buildroot}/%{_bindir}/gcrane completion zsh > %{buildroot}%{_datarootdir}/zsh_completion.d/_gcrane + %if %{?suse_version} > 1500 %files %license LICENSE @@ -95,7 +181,35 @@ %license LICENSE %{_bindir}/crane +%files -n crane-bash-completion +%dir %{_datarootdir}/bash-completion/completions/ +%{_datarootdir}/bash-completion/completions/crane + +%files -n crane-fish-completion +%dir %{_datarootdir}/fish +%dir %{_datarootdir}/fish/vendor_completions.d +%{_datarootdir}/fish/vendor_completions.d/crane.fish + +%files -n crane-zsh-completion +%defattr(-,root,root) +%dir %{_datarootdir}/zsh_completion.d/ +%{_datarootdir}/zsh_completion.d/_crane + %files -n gcrane %license LICENSE %{_bindir}/gcrane +%files -n gcrane-bash-completion +%dir %{_datarootdir}/bash-completion/completions/ +%{_datarootdir}/bash-completion/completions/gcrane + +%files -n gcrane-fish-completion +%dir %{_datarootdir}/fish +%dir %{_datarootdir}/fish/vendor_completions.d +%{_datarootdir}/fish/vendor_completions.d/gcrane.fish + +%files -n gcrane-zsh-completion +%defattr(-,root,root) +%dir %{_datarootdir}/zsh_completion.d/ +%{_datarootdir}/zsh_completion.d/_gcrane +
participants (1)
-
Source-Sync