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.
Date Wed, 02 Oct 2013 19:02:29 GMT
Updated Branches:
  refs/heads/v0.3.0 61d3d15a7 -> 013b817f5


Correct file ownership for RPM install.


Project: http://git-wip-us.apache.org/repos/asf/incubator-knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-knox/commit/013b817f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-knox/tree/013b817f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-knox/diff/013b817f

Branch: refs/heads/v0.3.0
Commit: 013b817f519397314dad94a11a0ffb733a99c992
Parents: 61d3d15
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:02:01 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/013b817f/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 24018c8..a989cc0 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/013b817f/gateway-rpm/knox.spec
----------------------------------------------------------------------
diff --git a/gateway-rpm/knox.spec b/gateway-rpm/knox.spec
index 6103d45..eb3f255 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