knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmin...@apache.org
Subject git commit: Correct file ownership for RPM install. (cherry picked from commit 013b817f519397314dad94a11a0ffb733a99c992)
Date Wed, 02 Oct 2013 19:05:34 GMT
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 <kevin.minder@hortonworks.com>
Authored: Wed Oct 2 15:01:42 2013 -0400
Committer: Kevin Minder <kevin.minder@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


Mime
View raw message