diff --git a/zookeeper-3.4.6-ivy-build.patch b/zookeeper-3.4.6-ivy-build.patch index 09c1e97..075cbfa 100644 --- a/zookeeper-3.4.6-ivy-build.patch +++ b/zookeeper-3.4.6-ivy-build.patch @@ -25,9 +25,23 @@ index 442d52e..bc1f4a2 100644 diff --git a/ivy.xml b/ivy.xml -index 561832a..0d9e2ed 100644 +index 561832a..93176d5 100644 --- a/ivy.xml +++ b/ivy.xml +@@ -46,10 +46,10 @@ + + + +- +- ++ ++ + +- ++ + + + @@ -58,12 +58,12 @@ - - -+ ++ - @@ -119,3 +134,472 @@ index 7f7ba4f..701dfea 100644 +diff --git a/src/contrib/rest/build.xml b/src/contrib/rest/build.xml +deleted file mode 100644 +index 649dff7..0000000 +--- a/src/contrib/rest/build.xml ++++ /dev/null +@@ -1,167 +0,0 @@ +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- Tests failed! +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +diff --git a/src/contrib/rest/ivy.xml b/src/contrib/rest/ivy.xml +deleted file mode 100644 +index 903d390..0000000 +--- a/src/contrib/rest/ivy.xml ++++ /dev/null +@@ -1,48 +0,0 @@ +- +- +- +- +- +- +- +- ZooKeeper REST +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +- +diff --git a/src/contrib/rest/oldbuild._xml b/src/contrib/rest/oldbuild._xml +new file mode 100644 +index 0000000..649dff7 +--- /dev/null ++++ b/src/contrib/rest/oldbuild._xml +@@ -0,0 +1,167 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ Tests failed! ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +diff --git a/src/contrib/rest/oldivy._xml b/src/contrib/rest/oldivy._xml +new file mode 100644 +index 0000000..903d390 +--- /dev/null ++++ b/src/contrib/rest/oldivy._xml +@@ -0,0 +1,48 @@ ++ ++ ++ ++ ++ ++ ++ ++ ZooKeeper REST ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ +diff --git a/src/contrib/zooinspector/ivy.xml b/src/contrib/zooinspector/ivy.xml +index 4e5107e..ac71a9b 100644 +--- a/src/contrib/zooinspector/ivy.xml ++++ b/src/contrib/zooinspector/ivy.xml +@@ -42,7 +42,7 @@ + + ++ rev="3.2.1" conf="releaseaudit->default"/> + + +- +\ No newline at end of file ++ diff --git a/zookeeper.spec b/zookeeper.spec index 17e49ff..59d0d7f 100644 --- a/zookeeper.spec +++ b/zookeeper.spec @@ -17,6 +17,8 @@ Source3: zkEnv.sh Patch1: %{name}-3.4.5-zktreeutil-gcc.patch Patch2: %{name}-3.4.6-ivy-build.patch #Patch3: {name}-3.4.5-add-PIE-and-RELRO.patch +# The native bits don't compile on ARM +ExcludeArch: %{arm} BuildRequires: autoconf BuildRequires: automake @@ -41,12 +43,16 @@ BuildRequires: checkstyle BuildRequires: jline1 BuildRequires: jtoaster BuildRequires: junit +BuildRequires: jdiff %if 0%{?fedora} >= 21 BuildRequires: mvn(org.slf4j:slf4j-log4j12) BuildRequires: javapackages-tools +Requires: log4j12 %else BuildRequires: mvn(log4j:log4j) +Requires: log4j %endif + BuildRequires: json_simple BuildRequires: mockito @@ -55,13 +61,16 @@ BuildRequires: slf4j BuildRequires: xerces-j2 BuildRequires: xml-commons-apis +# remove later on. +BuildRequires: apache-commons-parent +BuildRequires: jetty-server +BuildRequires: jetty-servlet BuildRequires: systemd Requires: checkstyle Requires: jline1 Requires: jtoaster Requires: junit -Requires: log4j Requires: mockito Requires: netty3 Requires: slf4j @@ -111,6 +120,7 @@ sed -i 's@^dataDir=.*$@dataDir=%{_sharedstatedir}/zookeeper/data\ndataLogDir=%{_ %build %ant -Divy.mode=local \ +-DCLASSPATH=/usr/share/java/log4j12-1.2.17.jar \ -Dtarget.jdk=1.5 \ -Djavadoc.link.java=%{_javadocdir}/java \ -Dant.build.javac.source=1.5 \