Unpriveleged contain can not handle non root id:gid
Release numbers is not bumped up because it does not affect
on resulting RPMs.
Change-Id: I2a8cab007749a06d8b97b0698afb94e2c3b60351
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1727
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: suezzelur <anishs@vmware.com>
| ... | ... |
@@ -27,8 +27,8 @@ The Ant package contains binaries for a build system |
| 27 | 27 |
%prep |
| 28 | 28 |
|
| 29 | 29 |
%setup -q |
| 30 |
-tar xf %{SOURCE1}
|
|
| 31 |
-tar xf %{SOURCE2}
|
|
| 30 |
+tar xf %{SOURCE1} --no-same-owner
|
|
| 31 |
+tar xf %{SOURCE2} --no-same-owner
|
|
| 32 | 32 |
%build |
| 33 | 33 |
ANT_DIST_DIR=/var/opt/apache-ant-%{version}
|
| 34 | 34 |
|
| ... | ... |
@@ -46,7 +46,7 @@ This package contains tools to assemble the local initrd and host configuration. |
| 46 | 46 |
%prep |
| 47 | 47 |
%setup -q -n %{name}-%{version}
|
| 48 | 48 |
cp %{PATCH0} .
|
| 49 |
-tar xf %{SOURCE1}
|
|
| 49 |
+tar xf %{SOURCE1} --no-same-owner
|
|
| 50 | 50 |
|
| 51 | 51 |
%build |
| 52 | 52 |
%configure --systemdsystemunitdir=%{_unitdir} --bashcompletiondir=$(pkg-config --variable=completionsdir bash-completion) --libdir=%{_prefix}/lib \
|
| ... | ... |
@@ -28,9 +28,9 @@ GDB, the GNU Project debugger, allows you to see what is going on |
| 28 | 28 |
another program was doing at the moment it crashed. |
| 29 | 29 |
%prep |
| 30 | 30 |
%setup -q |
| 31 |
-tar xf %{SOURCE1}
|
|
| 32 |
-tar xf %{SOURCE2}
|
|
| 33 |
-tar xf %{SOURCE3}
|
|
| 31 |
+tar xf %{SOURCE1} --no-same-owner
|
|
| 32 |
+tar xf %{SOURCE2} --no-same-owner
|
|
| 33 |
+tar xf %{SOURCE3} --no-same-owner
|
|
| 34 | 34 |
|
| 35 | 35 |
%build |
| 36 | 36 |
./configure \ |
| ... | ... |
@@ -19,7 +19,7 @@ Kubernetes is an open source implementation of container cluster management. |
| 19 | 19 |
|
| 20 | 20 |
%prep -p exit |
| 21 | 21 |
%setup -qn %{name}
|
| 22 |
-tar xf %{SOURCE1}
|
|
| 22 |
+tar xf %{SOURCE1} --no-same-owner
|
|
| 23 | 23 |
sed -i -e 's|127.0.0.1:4001|127.0.0.1:2379|g' contrib-0.7.0/init/systemd/environ/apiserver |
| 24 | 24 |
|
| 25 | 25 |
%build |
| ... | ... |
@@ -108,4 +108,4 @@ fi |
| 108 | 108 |
* Thu Jul 23 2015 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.1-1 |
| 109 | 109 |
- Upgrade to kubernetes v1.0.1 |
| 110 | 110 |
* Tue Mar 10 2015 Divya Thaluru <dthaluru@vmware.com> 0.12.1-1 |
| 111 |
-- Initial build. First version |
|
| 112 | 111 |
\ No newline at end of file |
| 112 |
+- Initial build. First version |
| ... | ... |
@@ -22,9 +22,9 @@ to various calling conventions. This allows a programmer to call any |
| 22 | 22 |
function specified by a call interface description at run time. |
| 23 | 23 |
%prep |
| 24 | 24 |
%setup -q |
| 25 |
-tar xf %{SOURCE1}
|
|
| 26 |
-tar xf %{SOURCE2}
|
|
| 27 |
-tar xf %{SOURCE3}
|
|
| 25 |
+tar xf %{SOURCE1} --no-same-owner
|
|
| 26 |
+tar xf %{SOURCE2} --no-same-owner
|
|
| 27 |
+tar xf %{SOURCE3} --no-same-owner
|
|
| 28 | 28 |
%build |
| 29 | 29 |
sed -e '/^includesdir/ s:$(libdir)/@PACKAGE_NAME@-@PACKAGE_VERSION@/include:$(includedir):' \ |
| 30 | 30 |
-i include/Makefile.in && |
| ... | ... |
@@ -42,7 +42,7 @@ needed for developing applications that manipulate binary policies. |
| 42 | 42 |
%prep |
| 43 | 43 |
%setup -qn %{name}-%{version}-rc1
|
| 44 | 44 |
sed -i 's/int rc;/int rc = SEPOL_OK;/' ./cil/src/cil_binary.c |
| 45 |
-tar xf %{SOURCE1}
|
|
| 45 |
+tar xf %{SOURCE1} --no-same-owner
|
|
| 46 | 46 |
|
| 47 | 47 |
%build |
| 48 | 48 |
make clean |