- Update to 3.2 from Kubernetes 1.18.0 OBS-URL: https://build.opensuse.org/request/show/788928 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/kubernetes-pause?expand=0&rev=5
51 lines
1.6 KiB
RPMSpec
51 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package kubernetes-pause
|
|
#
|
|
# 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: kubernetes-pause
|
|
Version: 3.2
|
|
Release: 0
|
|
Summary: A binary reaping children
|
|
License: Apache-2.0
|
|
Group: System/GUI/KDE
|
|
URL: https://github.com/kubernetes/kubernetes/tree/master/build/pause
|
|
Source1: https://raw.githubusercontent.com/kubernetes/kubernetes/release-1.18/build/pause/pause.c
|
|
Source2: https://raw.githubusercontent.com/kubernetes/kubernetes/release-1.18/LICENSE
|
|
Provides: kubic-pause = %version-%release
|
|
Obsoletes: kubic-pause < %version-%release
|
|
BuildRequires: gcc
|
|
BuildRequires: glibc-devel-static
|
|
|
|
%description
|
|
This executable can be used as a minimal init process inside a container.
|
|
|
|
%prep
|
|
%autosetup -T -c
|
|
cp %{SOURCE2} .
|
|
|
|
%build
|
|
gcc %{optflags} -static -DVERSION=%{version} %{SOURCE1} -o pause
|
|
|
|
%install
|
|
install -m0755 -D pause %{buildroot}/usr/bin/pause
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{_bindir}/pause
|
|
|
|
%changelog
|