[kubernetes] Bump to upstream 97dd7302ac2c2b9458a9348462a614ebf394b1ed
Eric Paris
eparis at fedoraproject.org
Wed Oct 22 12:55:55 UTC 2014
commit c335feb909091ced04fb26acf305a8ee59fd02c1
Author: Eric Paris <eparis at redhat.com>
Date: Wed Oct 22 08:55:36 2014 -0400
Bump to upstream 97dd7302ac2c2b9458a9348462a614ebf394b1ed
- Use upstream kubectl bash completion instead of in-repo
- Fix systemd_post and systemd_preun since we are using upstream service files
.gitignore | 2 +
kubectl | 305 -------------------------------------------------------
kubernetes.spec | 19 ++--
sources | 2 +-
4 files changed, 13 insertions(+), 315 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2ba4869..2b483b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,7 @@
+/clog
/kubernetes-98ac8e1.tar.gz
/kubernetes-4452163.tar.gz
/kubernetes-b011263.tar.gz
/kubernetes-d5377e4.tar.gz
/kubernetes-e868642.tar.gz
+/kubernetes-97dd730.tar.gz
diff --git a/kubernetes.spec b/kubernetes.spec
index 2d1a20c..5ba0c5b 100644
--- a/kubernetes.spec
+++ b/kubernetes.spec
@@ -1,7 +1,7 @@
#debuginfo not supported with Go
%global debug_package %{nil}
%global import_path github.com/GoogleCloudPlatform/kubernetes
-%global commit e8686429c4aa63fc73401259c8818da168a7b85e
+%global commit 97dd7302ac2c2b9458a9348462a614ebf394b1ed
%global shortcommit %(c=%{commit}; echo ${c:0:7})
#binaries which should be called kube-*
@@ -18,15 +18,13 @@
Name: kubernetes
Version: 0.4
-Release: 0.3.git%{shortcommit}%{?dist}
+Release: 0.4.git%{shortcommit}%{?dist}
Summary: Container cluster management
License: ASL 2.0
URL: https://github.com/GoogleCloudPlatform/kubernetes
ExclusiveArch: x86_64
Source0: https://github.com/GoogleCloudPlatform/kubernetes/archive/%{commit}/kubernetes-%{shortcommit}.tar.gz
-Source10: kubectl
-
Patch1: 0001-remove-all-third-party-software.patch
%if 0%{?fedora} >= 21 || 0%{?rhel}
@@ -140,8 +138,7 @@ done
# install the bash completion
install -d -m 0755 %{buildroot}%{_datadir}/bash-completion/completions/
-install -t %{buildroot}%{_datadir}/bash-completion/completions/ %{SOURCE10}
-install -t %{buildroot}%{_datadir}/bash-completion/completions/ contrib/completions/bash/kubecfg
+install -t %{buildroot}%{_datadir}/bash-completion/completions/ contrib/completions/bash/kubectl
# install config files
install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}
@@ -173,7 +170,6 @@ install -d %{buildroot}/var/lib/kubelet
%{_unitdir}/kube-controller-manager.service
%{_unitdir}/kube-proxy.service
%dir %{_sysconfdir}/%{name}
-%{_datadir}/bash-completion/completions/kubecfg
%{_datadir}/bash-completion/completions/kubectl
%dir /var/lib/kubelet
%config(noreplace) %{_sysconfdir}/%{name}/config
@@ -188,15 +184,20 @@ getent group kube >/dev/null || groupadd -r kube
getent passwd kube >/dev/null || useradd -r -g kube -d / -s /sbin/nologin \
-c "Kubernetes user" kube
%post
-%systemd_post %{basename:%{SOURCE20}} %{basename:%{SOURCE21}} %{basename:%{SOURCE22}} %{basename:%{SOURCE22}} %{basename:%{SOURCE24}}
+%systemd_post kube-apiserver kube-scheduler kube-controller-manager kubelet kube-proxy
%preun
-%systemd_preun %{basename:%{SOURCE20}} %{basename:%{SOURCE21}} %{basename:%{SOURCE22}} %{basename:%{SOURCE23}} %{basename:%{SOURCE24}}
+%systemd_preun kube-apiserver kube-scheduler kube-controller-manager kubelet kube-proxy
%postun
%systemd_postun
%changelog
+* Wed Oct 22 2014 Eric Paris <eparis at redhat.com - 0.4-0.4.git97dd730
+- Bump to upstream 97dd7302ac2c2b9458a9348462a614ebf394b1ed
+- Use upstream kubectl bash completion instead of in-repo
+- Fix systemd_post and systemd_preun since we are using upstream service files
+
* Tue Oct 21 2014 Eric Paris <eparis at redhat.com - 0.4-0.3.gite868642
- Bump to upstream e8686429c4aa63fc73401259c8818da168a7b85e
diff --git a/sources b/sources
index fb5e187..d118035 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-76e00366d28e8128375ec47ab84c0e63 kubernetes-e868642.tar.gz
+bef96497cf9ff899e59814085608062e kubernetes-97dd730.tar.gz
More information about the scm-commits
mailing list