Accepting request 1219984 from Virtualization:containers

Revert https://build.opensuse.org/requests/1219449. This code was not meant to
be committed to Virtualization:containers, it was committed to the devel
project by accident.

OBS-URL: https://build.opensuse.org/request/show/1219984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/docker?expand=0&rev=154
This commit is contained in:
Dominique Leuenberger 2024-11-01 20:47:08 +00:00 committed by Git OBS Bridge
commit 2b22e66486
2 changed files with 0 additions and 13 deletions

View File

@ -1,8 +1,3 @@
-------------------------------------------------------------------
Tue Oct 22 13:48:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- fix build for SLE12+
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 16 22:24:52 UTC 2024 - Aleksa Sarai <asarai@suse.com> Wed Oct 16 22:24:52 UTC 2024 - Aleksa Sarai <asarai@suse.com>

View File

@ -103,10 +103,8 @@ BuildRequires: linux-glibc-devel
BuildRequires: procps BuildRequires: procps
BuildRequires: sqlite3-devel BuildRequires: sqlite3-devel
BuildRequires: zsh BuildRequires: zsh
%if 0%{?suse_version} >= 1500
BuildRequires: fish BuildRequires: fish
BuildRequires: go-go-md2man BuildRequires: go-go-md2man
%endif
BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libsystemd)
BuildRequires: sysuser-tools BuildRequires: sysuser-tools
BuildRequires: golang(API) = 1.21 BuildRequires: golang(API) = 1.21
@ -267,7 +265,6 @@ Conflicts: docker-stable-zsh-completion
%description zsh-completion %description zsh-completion
Zsh command line completion support for %{name}. Zsh command line completion support for %{name}.
%if 0%{?suse_version} >= 1500
%package fish-completion %package fish-completion
Summary: Fish completion for %{name} Summary: Fish completion for %{name}
Group: System/Shells Group: System/Shells
@ -286,7 +283,6 @@ Conflicts: docker-stable-fish-completion
%description fish-completion %description fish-completion
Fish command line completion support for %{name}. Fish command line completion support for %{name}.
%endif
%prep %prep
# docker-cli # docker-cli
@ -410,9 +406,7 @@ install -D -m0644 %{SOURCE150} %{buildroot}%{_sysconfdir}/docker/daemon.json
install -D -m0755 %{cli_builddir}/build/docker %{buildroot}/%{_bindir}/docker install -D -m0755 %{cli_builddir}/build/docker %{buildroot}/%{_bindir}/docker
install -D -m0644 %{cli_builddir}/contrib/completion/bash/docker "%{buildroot}%{_datarootdir}/bash-completion/completions/docker" install -D -m0644 %{cli_builddir}/contrib/completion/bash/docker "%{buildroot}%{_datarootdir}/bash-completion/completions/docker"
install -D -m0644 %{cli_builddir}/contrib/completion/zsh/_docker "%{buildroot}%{_sysconfdir}/zsh_completion.d/_docker" install -D -m0644 %{cli_builddir}/contrib/completion/zsh/_docker "%{buildroot}%{_sysconfdir}/zsh_completion.d/_docker"
%if 0%{?suse_version} >= 1500
install -D -m0644 %{cli_builddir}/contrib/completion/fish/docker.fish "%{buildroot}/%{_datadir}/fish/vendor_completions.d/docker.fish" install -D -m0644 %{cli_builddir}/contrib/completion/fish/docker.fish "%{buildroot}/%{_datadir}/fish/vendor_completions.d/docker.fish"
%endif
# systemd service # systemd service
install -D -m0644 %{SOURCE100} %{buildroot}%{_unitdir}/docker.service install -D -m0644 %{SOURCE100} %{buildroot}%{_unitdir}/docker.service
@ -521,10 +515,8 @@ grep -q '^dockremap:' /etc/subgid || \
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/zsh_completion.d/_docker %{_sysconfdir}/zsh_completion.d/_docker
%if 0%{?suse_version} >= 1500
%files fish-completion %files fish-completion
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/fish/vendor_completions.d/docker.fish %{_datadir}/fish/vendor_completions.d/docker.fish
%endif
%changelog %changelog