zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ph...@apache.org
Subject svn commit: r1355649 - in /zookeeper/trunk: CHANGES.txt build.xml src/contrib/zkpython/build.xml src/contrib/zkpython/src/packages/rpm/spec/zkpython.spec src/packages/rpm/spec/zookeeper.spec
Date Sat, 30 Jun 2012 06:18:50 GMT
Author: phunt
Date: Sat Jun 30 06:18:49 2012
New Revision: 1355649

URL: http://svn.apache.org/viewvc?rev=1355649&view=rev
Log:
ZOOKEEPER-1210. Can't build ZooKeeper RPM with RPM >= 4.6.0 (i.e. on RHEL 6 and Fedora
>= 10) (Tadeusz Andrzej Kadłubowski via phunt)

Modified:
    zookeeper/trunk/CHANGES.txt
    zookeeper/trunk/build.xml
    zookeeper/trunk/src/contrib/zkpython/build.xml
    zookeeper/trunk/src/contrib/zkpython/src/packages/rpm/spec/zkpython.spec
    zookeeper/trunk/src/packages/rpm/spec/zookeeper.spec

Modified: zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/trunk/CHANGES.txt?rev=1355649&r1=1355648&r2=1355649&view=diff
==============================================================================
--- zookeeper/trunk/CHANGES.txt (original)
+++ zookeeper/trunk/CHANGES.txt Sat Jun 30 06:18:49 2012
@@ -194,6 +194,9 @@ BUGFIXES:
     zookeeper will not start. Better to create the directory and start
     (suja s via phunt)
 
+  ZOOKEEPER-1210. Can't build ZooKeeper RPM with RPM >= 4.6.0 (i.e. on
+    RHEL 6 and Fedora >= 10) (Tadeusz Andrzej Kadłubowski via phunt)
+
 IMPROVEMENTS:
 
   ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,

Modified: zookeeper/trunk/build.xml
URL: http://svn.apache.org/viewvc/zookeeper/trunk/build.xml?rev=1355649&r1=1355648&r2=1355649&view=diff
==============================================================================
--- zookeeper/trunk/build.xml (original)
+++ zookeeper/trunk/build.xml Sat Jun 30 06:18:49 2012
@@ -1012,7 +1012,7 @@
           </replacetokens>
         </filterchain>
       </copy>
-      <rpm specFile="zookeeper.spec" command="-ba" topDir="${package.buildroot}" cleanBuildDir="true"
failOnError="true"
+      <rpm specFile="zookeeper.spec" command="-ba --buildroot=${package.buildroot}/BUILD"
topDir="${package.buildroot}" cleanBuildDir="true" failOnError="true"
 />
       <copy todir="${build.dir}/" flatten="true">
         <fileset dir="${package.buildroot}/RPMS">

Modified: zookeeper/trunk/src/contrib/zkpython/build.xml
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/contrib/zkpython/build.xml?rev=1355649&r1=1355648&r2=1355649&view=diff
==============================================================================
--- zookeeper/trunk/src/contrib/zkpython/build.xml (original)
+++ zookeeper/trunk/src/contrib/zkpython/build.xml Sat Jun 30 06:18:49 2012
@@ -141,7 +141,7 @@
         </filterchain>
       </copy>
 
-      <rpm specFile="${name}.spec" command="-ba" topDir="${package.buildroot}" cleanBuildDir="true"
failOnError="true" />
+      <rpm specFile="${name}.spec" command="-ba --buildroot=${package.buildroot}/BUILD"
topDir="${package.buildroot}" cleanBuildDir="true" failOnError="true" />
       <copy todir="${build.dir}/" flatten="true">
         <fileset dir="${package.buildroot}/RPMS">
           <include name="**/*.rpm" />

Modified: zookeeper/trunk/src/contrib/zkpython/src/packages/rpm/spec/zkpython.spec
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/contrib/zkpython/src/packages/rpm/spec/zkpython.spec?rev=1355649&r1=1355648&r2=1355649&view=diff
==============================================================================
--- zookeeper/trunk/src/contrib/zkpython/src/packages/rpm/spec/zkpython.spec (original)
+++ zookeeper/trunk/src/contrib/zkpython/src/packages/rpm/spec/zkpython.spec Sat Jun 30 06:18:49
2012
@@ -52,7 +52,6 @@ Version: %{version}
 Release: %{release} 
 Source0: %{_python_lib}
 Prefix: %{_prefix}
-Buildroot: %{_build_dir}
 Requires: zookeeper-lib == %{version}
 AutoReqProv: no
 Provides: zkpython

Modified: zookeeper/trunk/src/packages/rpm/spec/zookeeper.spec
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/packages/rpm/spec/zookeeper.spec?rev=1355649&r1=1355648&r2=1355649&view=diff
==============================================================================
--- zookeeper/trunk/src/packages/rpm/spec/zookeeper.spec (original)
+++ zookeeper/trunk/src/packages/rpm/spec/zookeeper.spec Sat Jun 30 06:18:49 2012
@@ -70,7 +70,6 @@ Prefix: %{_conf_dir}
 Prefix: %{_log_dir}
 Prefix: %{_pid_dir}
 Prefix: %{_var_dir}
-Buildroot: %{_build_dir}
 Requires: sh-utils, textutils, /usr/sbin/useradd, /usr/sbin/usermod, /sbin/chkconfig, /sbin/service,
jdk >= 1.6
 AutoReqProv: no
 Provides: zookeeper



Mime
View raw message