You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by km...@apache.org on 2013/10/02 21:05:34 UTC
git commit: Correct file ownership for RPM install. (cherry picked
from commit 013b817f519397314dad94a11a0ffb733a99c992)
Updated Branches:
refs/heads/master f7985c770 -> ddb4be6f0
Correct file ownership for RPM install.
(cherry picked from commit 013b817f519397314dad94a11a0ffb733a99c992)
Project: http://git-wip-us.apache.org/repos/asf/incubator-knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-knox/commit/ddb4be6f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-knox/tree/ddb4be6f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-knox/diff/ddb4be6f
Branch: refs/heads/master
Commit: ddb4be6f03d4f7dec3cea655b7b4227f64194c5c
Parents: f7985c7
Author: Kevin Minder <ke...@hortonworks.com>
Authored: Wed Oct 2 15:01:42 2013 -0400
Committer: Kevin Minder <ke...@hortonworks.com>
Committed: Wed Oct 2 15:05:24 2013 -0400
----------------------------------------------------------------------
build.xml | 2 +-
gateway-rpm/knox.spec | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/ddb4be6f/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 86ac9ea..0d0cb23 100644
--- a/build.xml
+++ b/build.xml
@@ -154,7 +154,7 @@
<target name="sign-candidate" depends="_init" description="Sign a downloaded created release.">
<delete>
- <fileset dir="${candidate.path}" includes="**/*.asc"/>
+ <fileset dir="${candidate.path}" includes="*.asc,KEYS"/>
</delete>
<exec executable="gpg" dir="${candidate.path}">
<arg value="--armor"/>
http://git-wip-us.apache.org/repos/asf/incubator-knox/blob/ddb4be6f/gateway-rpm/knox.spec
----------------------------------------------------------------------
diff --git a/gateway-rpm/knox.spec b/gateway-rpm/knox.spec
index 825ef58..623c0d9 100644
--- a/gateway-rpm/knox.spec
+++ b/gateway-rpm/knox.spec
@@ -46,6 +46,7 @@ echo "Knox installation build"
%install
mkdir -p $RPM_BUILD_ROOT/usr/lib/knox/
cp -R ./ $RPM_BUILD_ROOT/usr/lib/knox/
+chown -R `logname` $RPM_BUILD_ROOT/usr/lib/knox/
%clean
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR