Change-Id: Icf15259f5c6a194525cd655ae80d476f2a17f1a7
Reviewed-on: http://photon-jenkins.eng.vmware.com/889
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: suezzelur <anishs@vmware.com>
| ... | ... |
@@ -1,7 +1,7 @@ |
| 1 | 1 |
Summary: Fast distributed version control system |
| 2 | 2 |
Name: git |
| 3 | 3 |
Version: 2.8.1 |
| 4 |
-Release: 2%{?dist}
|
|
| 4 |
+Release: 3%{?dist}
|
|
| 5 | 5 |
License: GPLv2 |
| 6 | 6 |
URL: http://git-scm.com/ |
| 7 | 7 |
Group: System Environment/Programming |
| ... | ... |
@@ -59,7 +59,7 @@ make DESTDIR=%{buildroot} install
|
| 59 | 59 |
make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
|
| 60 | 60 |
|
| 61 | 61 |
%post |
| 62 |
-if [$1 -eq 1];then |
|
| 62 |
+if [ $1 -eq 1 ];then |
|
| 63 | 63 |
# This is first installation. |
| 64 | 64 |
git config --system http.sslCAPath /etc/ssl/certs |
| 65 | 65 |
exit 0 |
| ... | ... |
@@ -87,6 +87,8 @@ rm -rf %{buildroot}/*
|
| 87 | 87 |
%defattr(-,root,root) |
| 88 | 88 |
|
| 89 | 89 |
%changelog |
| 90 |
+* Wed May 18 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.8.1-3 |
|
| 91 |
+- Fix if syntax |
|
| 90 | 92 |
* Thu May 05 2016 Kumar Kaushik <kaushikk@vmware.com> 2.8.1-2 |
| 91 | 93 |
- Handling the upgrade scenario. |
| 92 | 94 |
* Fri Apr 15 2016 Anish Swaminathan <anishs@vmware.com> 2.8.1-1 |
| ... | ... |
@@ -4,7 +4,7 @@ |
| 4 | 4 |
Summary: Kubernetes cluster management |
| 5 | 5 |
Name: kubernetes |
| 6 | 6 |
Version: 1.1.8 |
| 7 |
-Release: 2%{?dist}
|
|
| 7 |
+Release: 3%{?dist}
|
|
| 8 | 8 |
License: ASL 2.0 |
| 9 | 9 |
URL: https://github.com/GoogleCloudPlatform/kubernetes |
| 10 | 10 |
Source0: https://github.com/GoogleCloudPlatform/kubernetes/releases/download/v%{version}/%{name}-v%{version}.tar.gz
|
| ... | ... |
@@ -65,7 +65,7 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
|
| 65 | 65 |
rm -rf %{buildroot}/*
|
| 66 | 66 |
|
| 67 | 67 |
%pre |
| 68 |
-if [$1 -eq 1]; then |
|
| 68 |
+if [ $1 -eq 1 ]; then |
|
| 69 | 69 |
# Initial installation. |
| 70 | 70 |
getent group kube >/dev/null || groupadd -r kube |
| 71 | 71 |
getent passwd kube >/dev/null || useradd -r -g kube -d / -s /sbin/nologin \ |
| ... | ... |
@@ -73,7 +73,7 @@ if [$1 -eq 1]; then |
| 73 | 73 |
fi |
| 74 | 74 |
|
| 75 | 75 |
%postun |
| 76 |
-if [$1 -eq 0]; then |
|
| 76 |
+if [ $1 -eq 0 ]; then |
|
| 77 | 77 |
# Package deletion |
| 78 | 78 |
userdel kube |
| 79 | 79 |
groupdel kube |
| ... | ... |
@@ -99,6 +99,8 @@ fi |
| 99 | 99 |
%config(noreplace) %{_sysconfdir}/%{name}/scheduler
|
| 100 | 100 |
|
| 101 | 101 |
%changelog |
| 102 |
+* Wed May 18 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.1.8-3 |
|
| 103 |
+- Fix if syntax |
|
| 102 | 104 |
* Thu May 05 2016 Kumar Kaushik <kaushikk@vmware.com> 1.1.8-2 |
| 103 | 105 |
- Adding support to pre/post/un scripts for package upgrade. |
| 104 | 106 |
* Tue Feb 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.1.8-1 |