|
|
e5b4022 |
%global _hardened_build 1
|
|
Timothy St. Clair |
da2547b |
%global skiptests 1
|
|
Timothy St. Clair |
671bd17 |
|
|
|
e5b4022 |
Name: zookeeper
|
|
|
b5809e5 |
Version: 3.4.9
|
|
|
634ef6e |
Release: 14%{?dist}
|
|
|
e5b4022 |
Summary: A high-performance coordination service for distributed applications
|
|
|
e5b4022 |
License: ASL 2.0 and BSD
|
|
|
b5809e5 |
URL: https://zookeeper.apache.org/
|
|
|
b5809e5 |
Source0: https://www.apache.org/dist/%{name}/%{name}-%{version}.tar.gz
|
|
Timothy St. Clair |
c804f9a |
Source1: %{name}-ZooInspector-template.pom
|
|
Timothy St. Clair |
c804f9a |
Source2: %{name}.service
|
|
Timothy St. Clair |
da2547b |
Source3: zkEnv.sh
|
|
Timothy St. Clair |
ef6470f |
|
|
Timothy St. Clair |
c804f9a |
Patch1: %{name}-3.4.5-zktreeutil-gcc.patch
|
|
|
b5809e5 |
Patch2: %{name}-3.4.9-ivy-build.patch
|
|
|
b5809e5 |
Patch3: %{name}-3.4.9-server.patch
|
|
|
b5809e5 |
# ZOOKEEPER-1643; patch accepted in 3.5.0
|
|
|
b5809e5 |
Patch4: mt_adaptor.c.patch
|
|
|
9acdf5f |
Patch5: 0001-cppunit-config-no-longer-exists-use-pkg-config.patch
|
|
|
b5809e5 |
Patch6: missing-pom.template.patch
|
|
Timothy St. Clair |
8ba2394 |
|
|
|
e5b4022 |
|
|
|
e5b4022 |
BuildRequires: autoconf
|
|
|
e5b4022 |
BuildRequires: automake
|
|
|
e5b4022 |
BuildRequires: boost-devel
|
|
|
9acdf5f |
BuildRequires: pkgconfig(cppunit)
|
|
|
e5b4022 |
BuildRequires: dos2unix
|
|
|
e5b4022 |
BuildRequires: doxygen
|
|
|
f40ae8e |
BuildRequires: gcc-c++
|
|
|
e5b4022 |
BuildRequires: graphviz
|
|
|
e5b4022 |
BuildRequires: java-devel
|
|
|
e5b4022 |
BuildRequires: java-javadoc
|
|
|
e5b4022 |
BuildRequires: jpackage-utils
|
|
|
e5b4022 |
BuildRequires: libtool
|
|
|
e5b4022 |
BuildRequires: libxml2-devel
|
|
|
6f0c66c |
BuildRequires: python3-devel
|
|
|
e5b4022 |
|
|
|
e5b4022 |
BuildRequires: ant
|
|
|
e5b4022 |
BuildRequires: ant-junit
|
|
|
e5b4022 |
BuildRequires: apache-ivy
|
|
|
e5b4022 |
BuildRequires: checkstyle
|
|
Timothy St. Clair |
74f0681 |
BuildRequires: ivy-local
|
|
Timothy St. Clair |
74f0681 |
BuildRequires: javapackages-tools
|
|
Timothy St. Clair |
74f0681 |
|
|
|
e5b4022 |
BuildRequires: jtoaster
|
|
|
e5b4022 |
BuildRequires: junit
|
|
Timothy St. Clair |
fb05f8b |
BuildRequires: jdiff
|
|
|
41f35e7 |
%if 0%{?fedora} >= 21 || 0%{?rhel} > 7
|
|
Timothy St. Clair |
da2547b |
BuildRequires: mvn(org.slf4j:slf4j-log4j12)
|
|
Timothy St. Clair |
6935cdf |
BuildRequires: objectweb-pom
|
|
Timothy St. Clair |
74f0681 |
BuildRequires: jline1
|
|
Timothy St. Clair |
74f0681 |
BuildRequires: netty3
|
|
Timothy St. Clair |
fb05f8b |
Requires: log4j12
|
|
Timothy St. Clair |
da2547b |
%else
|
|
Timothy St. Clair |
da2547b |
BuildRequires: mvn(log4j:log4j)
|
|
Timothy St. Clair |
74f0681 |
BuildRequires: jline
|
|
Timothy St. Clair |
74f0681 |
BuildRequires: netty
|
|
Timothy St. Clair |
fb05f8b |
Requires: log4j
|
|
Timothy St. Clair |
da2547b |
%endif
|
|
Timothy St. Clair |
fb05f8b |
|
|
Timothy St. Clair |
c804f9a |
BuildRequires: json_simple
|
|
Timothy St. Clair |
ef6470f |
|
|
|
e5b4022 |
BuildRequires: mockito
|
|
|
e5b4022 |
BuildRequires: slf4j
|
|
|
e5b4022 |
BuildRequires: xerces-j2
|
|
|
e5b4022 |
BuildRequires: xml-commons-apis
|
|
|
e5b4022 |
|
|
Timothy St. Clair |
fb05f8b |
# remove later on.
|
|
Timothy St. Clair |
fb05f8b |
BuildRequires: apache-commons-parent
|
|
Timothy St. Clair |
fb05f8b |
BuildRequires: jetty-server
|
|
Timothy St. Clair |
fb05f8b |
BuildRequires: jetty-servlet
|
|
|
94aec27 |
BuildRequires: systemd
|
|
|
94aec27 |
|
|
|
e5b4022 |
Requires: checkstyle
|
|
Timothy St. Clair |
a504250 |
Requires: jline1
|
|
|
e5b4022 |
Requires: jtoaster
|
|
|
e5b4022 |
Requires: junit
|
|
|
e5b4022 |
Requires: mockito
|
|
Timothy St. Clair |
671bd17 |
Requires: netty3
|
|
|
e5b4022 |
Requires: slf4j
|
|
|
e5b4022 |
Requires: java
|
|
|
e5b4022 |
Requires: jpackage-utils
|
|
Timothy St. Clair |
b1ff57a |
Requires: %{name}-java = %{version}-%{release}
|
|
|
e5b4022 |
|
|
Timothy St. Clair |
da2547b |
%description
|
|
Timothy St. Clair |
da2547b |
ZooKeeper is a centralized service for maintaining configuration information,
|
|
Timothy St. Clair |
da2547b |
naming, providing distributed synchronization, and providing group services.
|
|
Timothy St. Clair |
da2547b |
|
|
Timothy St. Clair |
b1ff57a |
##############################################
|
|
Timothy St. Clair |
da2547b |
%package devel
|
|
Timothy St. Clair |
da2547b |
Summary: Development files for the %{name} library
|
|
Timothy St. Clair |
8ba2394 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Timothy St. Clair |
da2547b |
|
|
Timothy St. Clair |
da2547b |
%description devel
|
|
Timothy St. Clair |
da2547b |
Development files for the ZooKeeper C client library.
|
|
|
e5b4022 |
|
|
Timothy St. Clair |
b1ff57a |
##############################################
|
|
Timothy St. Clair |
b1ff57a |
%package java
|
|
Timothy St. Clair |
b1ff57a |
Summary: Java interface for %{name}
|
|
Timothy St. Clair |
b1ff57a |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Timothy St. Clair |
b1ff57a |
|
|
Timothy St. Clair |
b1ff57a |
%description java
|
|
Timothy St. Clair |
b1ff57a |
The %{name}-java package contains Java bindings for %{name}.
|
|
Timothy St. Clair |
b1ff57a |
|
|
Timothy St. Clair |
b1ff57a |
##############################################
|
|
|
e5b4022 |
%package javadoc
|
|
|
e5b4022 |
Summary: Javadoc for %{name}
|
|
Timothy St. Clair |
8ba2394 |
BuildArch: noarch
|
|
|
e5b4022 |
|
|
|
e5b4022 |
%description javadoc
|
|
|
e5b4022 |
This package contains javadoc for %{name}.
|
|
|
e5b4022 |
|
|
|
6f0c66c |
%package -n python3-%{name}
|
|
|
6f0c66c |
%{?python_provide:%python_provide python3-%{name}}
|
|
Timothy St. Clair |
da2547b |
Summary: Python support for %{name}
|
|
Timothy St. Clair |
8ba2394 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
e5b4022 |
|
|
|
6f0c66c |
%description -n python3-%{name}
|
|
|
6f0c66c |
Python bindings for %{name}.
|
|
|
94aec27 |
|
|
|
e5b4022 |
%prep
|
|
|
b5809e5 |
%autosetup -p1
|
|
|
e5b4022 |
|
|
|
f9429ff |
# Do not treat C compile-time warnings as errors
|
|
|
f9429ff |
sed -i -e's/-Werror//' src/c/Makefile.am
|
|
|
f9429ff |
|
|
|
e5b4022 |
iconv -f iso8859-1 -t utf-8 src/c/ChangeLog > src/c/ChangeLog.conv && mv -f src/c/ChangeLog.conv src/c/ChangeLog
|
|
|
e5b4022 |
sed -i 's/\r//' src/c/ChangeLog
|
|
|
e5b4022 |
|
|
|
e5b4022 |
sed -i 's|<exec executable="hostname" outputproperty="host.name"/>||' build.xml
|
|
|
e5b4022 |
sed -i 's|<attribute name="Built-On" value="${host.name}" />|<attribute name="Built-On" value="${user.name}" />|' build.xml
|
|
|
e5b4022 |
|
|
|
94aec27 |
sed -i 's@^dataDir=.*$@dataDir=%{_sharedstatedir}/zookeeper/data\ndataLogDir=%{_sharedstatedir}/zookeeper/log@' conf/zoo_sample.cfg
|
|
|
94aec27 |
|
|
|
e5b4022 |
%build
|
|
Timothy St. Clair |
c804f9a |
%ant -Divy.mode=local \
|
|
Timothy St. Clair |
fb05f8b |
-DCLASSPATH=/usr/share/java/log4j12-1.2.17.jar \
|
|
Timothy St. Clair |
c804f9a |
-Dtarget.jdk=1.5 \
|
|
Timothy St. Clair |
c804f9a |
-Djavadoc.link.java=%{_javadocdir}/java \
|
|
Timothy St. Clair |
c804f9a |
-Dant.build.javac.source=1.5 \
|
|
Timothy St. Clair |
c804f9a |
-Dant.build.javac.target=1.5 \
|
|
Timothy St. Clair |
da2547b |
package
|
|
Timothy St. Clair |
c804f9a |
|
|
|
9acdf5f |
# cppunit-config patch touches configure.ac in these dirs
|
|
|
9acdf5f |
pushd src/recipes/lock/src/c
|
|
|
9acdf5f |
autoreconf -if
|
|
|
9acdf5f |
popd
|
|
|
9acdf5f |
pushd src/recipes/queue/src/c
|
|
|
9acdf5f |
autoreconf -if
|
|
|
9acdf5f |
popd
|
|
|
9acdf5f |
|
|
Timothy St. Clair |
da2547b |
pushd src/c
|
|
Timothy St. Clair |
c804f9a |
autoreconf -if
|
|
Timothy St. Clair |
4ae4bc6 |
%configure --disable-static --disable-rpath
|
|
|
e5b4022 |
%{__make} %{?_smp_mflags}
|
|
Timothy St. Clair |
c804f9a |
popd
|
|
|
e5b4022 |
|
|
Timothy St. Clair |
da2547b |
## TODO: install utilities?
|
|
Timothy St. Clair |
da2547b |
|
|
|
e5b4022 |
%check
|
|
Timothy St. Clair |
da2547b |
%if %skiptests
|
|
Timothy St. Clair |
da2547b |
echo "Testing disabled, please enable in mock"
|
|
Timothy St. Clair |
da2547b |
%else
|
|
Timothy St. Clair |
da2547b |
%ant -Divy.mode=local test
|
|
Timothy St. Clair |
da2547b |
%endif
|
|
|
e5b4022 |
|
|
|
e5b4022 |
%install
|
|
Timothy St. Clair |
8ba2394 |
|
|
Timothy St. Clair |
8ba2394 |
# the following is used to update zkEnv.sh
|
|
Timothy St. Clair |
8ba2394 |
# find . -name "*.jar" -exec basename {} \; |sort|uniq
|
|
Timothy St. Clair |
8ba2394 |
# remove items that don't belong and update execute build-classpath
|
|
Timothy St. Clair |
8ba2394 |
|
|
Timothy St. Clair |
da2547b |
#install the c tools
|
|
Timothy St. Clair |
da2547b |
pushd src/c
|
|
Timothy St. Clair |
da2547b |
%make_install
|
|
Timothy St. Clair |
da2547b |
popd
|
|
Timothy St. Clair |
da2547b |
|
|
Timothy St. Clair |
da2547b |
# install the java dependencies.
|
|
|
e5b4022 |
mkdir -p %{buildroot}%{_javadir}/%{name}
|
|
|
e5b4022 |
install -pm 644 build/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}/%{name}.jar
|
|
Timothy St. Clair |
3d94c04 |
install -pm 644 build/%{name}-%{version}-test.jar %{buildroot}%{_javadir}/%{name}/%{name}-tests.jar
|
|
Timothy St. Clair |
c804f9a |
install -pm 644 build/contrib/ZooInspector/%{name}-%{version}-ZooInspector.jar %{buildroot}%{_javadir}/%{name}/%{name}-ZooInspector.jar
|
|
|
e5b4022 |
|
|
Timothy St. Clair |
da2547b |
install -pm 755 bin/zkCleanup.sh %{buildroot}%{_bindir}
|
|
Timothy St. Clair |
da2547b |
install -pm 755 bin/zkCli.sh %{buildroot}%{_bindir}
|
|
Timothy St. Clair |
da2547b |
install -pm 755 bin/zkServer.sh %{buildroot}%{_bindir}
|
|
Timothy St. Clair |
da2547b |
mkdir -p %{buildroot}%{_libexecdir}
|
|
Timothy St. Clair |
da2547b |
install -pm 755 %{SOURCE3} %{buildroot}%{_libexecdir}
|
|
Timothy St. Clair |
da2547b |
|
|
|
41f35e7 |
%if 0%{?fedora} >= 21 || 0%{?rhel} > 7
|
|
Timothy St. Clair |
da2547b |
mkdir -p %{buildroot}%{_datadir}/maven-metadata
|
|
Timothy St. Clair |
4ae4bc6 |
mkdir -p %{buildroot}%{_datadir}/maven-poms
|
|
Timothy St. Clair |
4ae4bc6 |
install -pm 644 build/%{name}-%{version}/dist-maven/%{name}-%{version}.pom %{buildroot}%{_datadir}/maven-poms/%{name}-%{name}.pom
|
|
Timothy St. Clair |
da2547b |
|
|
Timothy St. Clair |
da2547b |
%add_maven_depmap %{name}-%{name}.pom %{name}/%{name}.jar
|
|
Timothy St. Clair |
da2547b |
%add_maven_depmap org.apache.zookeeper:zookeeper::tests:%{version} %{name}/%{name}-tests.jar
|
|
Timothy St. Clair |
da2547b |
|
|
Timothy St. Clair |
4ae4bc6 |
install -pm 644 %{SOURCE1} %{buildroot}%{_datadir}/maven-poms/%{name}-%{name}-ZooInspector.pom
|
|
Timothy St. Clair |
4ae4bc6 |
sed -i "s|@version@|%{version}|" %{buildroot}%{_datadir}/maven-poms/%{name}-%{name}-ZooInspector.pom
|
|
Timothy St. Clair |
da2547b |
%add_maven_depmap %{name}-%{name}-ZooInspector.pom %{name}/%{name}-ZooInspector.jar
|
|
Timothy St. Clair |
da2547b |
%else
|
|
|
e5b4022 |
mkdir -p %{buildroot}%{_mavenpomdir}
|
|
Timothy St. Clair |
da2547b |
install -pm 644 build/%{name}-%{version}/dist-maven/%{name}-%{version}.pom %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}.pom
|
|
Timothy St. Clair |
c804f9a |
|
|
|
e5b4022 |
%add_maven_depmap JPP.%{name}-%{name}.pom %{name}/%{name}.jar
|
|
Timothy St. Clair |
3d94c04 |
%add_maven_depmap org.apache.zookeeper:zookeeper::tests:%{version} %{name}/%{name}-tests.jar
|
|
Timothy St. Clair |
c804f9a |
|
|
Timothy St. Clair |
c804f9a |
install -pm 644 %{SOURCE1} %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-ZooInspector.pom
|
|
Timothy St. Clair |
c804f9a |
sed -i "s|@version@|%{version}|" %{buildroot}%{_mavenpomdir}/JPP.%{name}-%{name}-ZooInspector.pom
|
|
|
e5b4022 |
%add_maven_depmap JPP.%{name}-%{name}-ZooInspector.pom %{name}/%{name}-ZooInspector.jar
|
|
Timothy St. Clair |
da2547b |
%endif
|
|
Timothy St. Clair |
da2547b |
|
|
Timothy St. Clair |
c804f9a |
mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
|
|
e5b4022 |
cp -pr build/docs/api/* %{buildroot}%{_javadocdir}/%{name}/
|
|
|
e5b4022 |
|
|
Timothy St. Clair |
da2547b |
pushd src/contrib/zkpython
|
|
|
a2d58c7 |
%set_build_flags
|
|
|
6f0c66c |
%{__python3} src/python/setup.py build --build-base=$PWD/build \
|
|
|
e5b4022 |
install --root=%{buildroot} ;\
|
|
|
6f0c66c |
chmod 0755 %{buildroot}%{python3_sitearch}/zookeeper.cpython-*.so
|
|
|
e5b4022 |
popd
|
|
|
e5b4022 |
|
|
|
e5b4022 |
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
Timothy St. Clair |
da2547b |
find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
|
|
e5b4022 |
|
|
|
94aec27 |
mkdir -p %{buildroot}%{_unitdir}
|
|
|
94aec27 |
mkdir -p %{buildroot}%{_sysconfdir}/zookeeper
|
|
|
94aec27 |
mkdir -p %{buildroot}%{_localstatedir}/log/zookeeper
|
|
|
94aec27 |
mkdir -p %{buildroot}%{_sharedstatedir}/zookeeper
|
|
|
94aec27 |
mkdir -p %{buildroot}%{_sharedstatedir}/zookeeper/data
|
|
|
94aec27 |
mkdir -p %{buildroot}%{_sharedstatedir}/zookeeper/log
|
|
Timothy St. Clair |
c804f9a |
install -p -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}
|
|
|
94aec27 |
install -p -m 0640 conf/log4j.properties %{buildroot}%{_sysconfdir}/zookeeper
|
|
|
94aec27 |
install -p -m 0640 conf/zoo_sample.cfg %{buildroot}%{_sysconfdir}/zookeeper
|
|
|
94aec27 |
touch %{buildroot}%{_sysconfdir}/zookeeper/zoo.cfg
|
|
|
94aec27 |
touch %{buildroot}%{_sharedstatedir}/zookeeper/data/myid
|
|
|
94aec27 |
|
|
Timothy St. Clair |
da2547b |
%pre
|
|
|
94aec27 |
getent group zookeeper >/dev/null || groupadd -r zookeeper
|
|
|
94aec27 |
getent passwd zookeeper >/dev/null || \
|
|
|
94aec27 |
useradd -r -g zookeeper -d %{_sharedstatedir}/zookeeper -s /sbin/nologin \
|
|
|
94aec27 |
-c "ZooKeeper service account" zookeeper
|
|
Timothy St. Clair |
da2547b |
|
|
Timothy St. Clair |
da2547b |
%post
|
|
|
94aec27 |
%systemd_post zookeeper.service
|
|
Timothy St. Clair |
da2547b |
/sbin/ldconfig
|
|
|
94aec27 |
|
|
Timothy St. Clair |
da2547b |
%preun
|
|
|
94aec27 |
%systemd_preun zookeeper.service
|
|
|
94aec27 |
|
|
Timothy St. Clair |
da2547b |
%postun
|
|
|
94aec27 |
%systemd_postun_with_restart zookeeper.service
|
|
Timothy St. Clair |
da2547b |
/sbin/ldconfig
|
|
|
94aec27 |
|
|
Timothy St. Clair |
0b2fc1b |
%files
|
|
|
e5b4022 |
%{_bindir}/cli_mt
|
|
|
e5b4022 |
%{_bindir}/cli_st
|
|
|
e5b4022 |
%{_bindir}/load_gen
|
|
Timothy St. Clair |
da2547b |
%{_bindir}/zk*.sh
|
|
Timothy St. Clair |
da2547b |
%{_libexecdir}/zkEnv.sh
|
|
|
e5b4022 |
%{_libdir}/lib*.so.*
|
|
Timothy St. Clair |
b1ff57a |
|
|
Timothy St. Clair |
b1ff57a |
%attr(0755,root,root) %dir %{_sysconfdir}/zookeeper
|
|
Timothy St. Clair |
b1ff57a |
%attr(0644,root,root) %ghost %config(noreplace) %{_sysconfdir}/zookeeper/zoo.cfg
|
|
Timothy St. Clair |
b1ff57a |
%attr(0644,root,root) %{_sysconfdir}/zookeeper/zoo_sample.cfg
|
|
Timothy St. Clair |
b1ff57a |
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/zookeeper/log4j.properties
|
|
Timothy St. Clair |
b1ff57a |
|
|
Timothy St. Clair |
b1ff57a |
%attr(0755,zookeeper,zookeeper) %dir %{_localstatedir}/log/zookeeper
|
|
Timothy St. Clair |
b1ff57a |
%attr(0755,root,root) %dir %{_sharedstatedir}/zookeeper
|
|
Timothy St. Clair |
b1ff57a |
%attr(0750,zookeeper,zookeeper) %dir %{_sharedstatedir}/zookeeper/data
|
|
Timothy St. Clair |
b1ff57a |
%attr(0640,zookeeper,zookeeper) %ghost %{_sharedstatedir}/zookeeper/data/myid
|
|
Timothy St. Clair |
b1ff57a |
%attr(0755,zookeeper,zookeeper) %dir %{_sharedstatedir}/zookeeper/log
|
|
Timothy St. Clair |
b1ff57a |
%{_unitdir}/zookeeper.service
|
|
Timothy St. Clair |
b1ff57a |
%doc CHANGES.txt LICENSE.txt NOTICE.txt README.txt
|
|
Timothy St. Clair |
b1ff57a |
|
|
Timothy St. Clair |
b1ff57a |
%files java
|
|
|
a8baeb6 |
%dir %{_javadir}/%{name}
|
|
|
e5b4022 |
%{_javadir}/%{name}/%{name}.jar
|
|
Timothy St. Clair |
3d94c04 |
%{_javadir}/%{name}/%{name}-tests.jar
|
|
|
e5b4022 |
%{_javadir}/%{name}/%{name}-ZooInspector.jar
|
|
|
41f35e7 |
%if 0%{?fedora} >= 21 || 0%{?rhel} > 7
|
|
Timothy St. Clair |
4ae4bc6 |
%{_datadir}/maven-poms/%{name}-%{name}.pom
|
|
Timothy St. Clair |
4ae4bc6 |
%{_datadir}/maven-poms/%{name}-%{name}-ZooInspector.pom
|
|
Timothy St. Clair |
da2547b |
%{_datadir}/maven-metadata/%{name}.xml
|
|
Timothy St. Clair |
da2547b |
%else
|
|
Timothy St. Clair |
da2547b |
%{_mavendepmapfragdir}/%{name}
|
|
|
e5b4022 |
%{_mavenpomdir}/JPP.%{name}-%{name}.pom
|
|
|
e5b4022 |
%{_mavenpomdir}/JPP.%{name}-%{name}-ZooInspector.pom
|
|
Timothy St. Clair |
da2547b |
%endif
|
|
Timothy St. Clair |
da2547b |
%doc CHANGES.txt LICENSE.txt NOTICE.txt README.txt
|
|
Timothy St. Clair |
da2547b |
|
|
Timothy St. Clair |
da2547b |
%files devel
|
|
Timothy St. Clair |
da2547b |
%{_includedir}/%{name}/
|
|
Timothy St. Clair |
da2547b |
%{_libdir}/*.so
|
|
Timothy St. Clair |
da2547b |
%doc src/c/LICENSE src/c/NOTICE.txt
|
|
Timothy St. Clair |
da2547b |
|
|
Timothy St. Clair |
da2547b |
%files javadoc
|
|
Timothy St. Clair |
da2547b |
%{_javadocdir}/%{name}
|
|
Timothy St. Clair |
da2547b |
%doc LICENSE.txt NOTICE.txt
|
|
Timothy St. Clair |
da2547b |
|
|
|
6f0c66c |
%files -n python3-%{name}
|
|
|
6f0c66c |
%{python3_sitearch}/ZooKeeper-?.?-py%{python3_version}.egg-info
|
|
|
6f0c66c |
%{python3_sitearch}/zookeeper.cpython-*.so
|
|
Timothy St. Clair |
da2547b |
%doc LICENSE.txt NOTICE.txt src/contrib/zkpython/README
|
|
|
94aec27 |
|
|
|
e5b4022 |
%changelog
|
|
|
634ef6e |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.9-14
|
|
|
634ef6e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
634ef6e |
|
|
|
b1a6f30 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.9-13
|
|
|
b1a6f30 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
b1a6f30 |
|
|
|
f9429ff |
* Wed Nov 28 2018 Petr Viktorin <pviktori@redhat.com> - 3.4.9-12
|
|
|
6f0c66c |
- Switch to Python 3
|
|
|
6f0c66c |
https://bugzilla.redhat.com/show_bug.cgi?id=1630088
|
|
|
6f0c66c |
|
|
|
76240bd |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.9-11
|
|
|
76240bd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
76240bd |
|
|
|
2e64010 |
* Tue Mar 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.4.9-10
|
|
|
2e64010 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
2e64010 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
2e64010 |
|
|
|
f40ae8e |
* Thu Mar 08 2018 Christopher Tubbs <ctubbsii@fedoraproject.org> - 3.4.9-9
|
|
|
f40ae8e |
- Add gcc-c++ BuildRequires
|
|
|
f40ae8e |
|
|
|
b177e54 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.9-8
|
|
|
b177e54 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
b177e54 |
|
|
|
41f35e7 |
* Thu Sep 07 2017 Troy Dawson <tdawson@redhat.com> - 3.4.9-7
|
|
|
41f35e7 |
- Cleanup spec file conditionals
|
|
|
41f35e7 |
|
|
|
4908b17 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.4.9-6
|
|
|
4908b17 |
- Python 2 binary package renamed to python2-zookeeper
|
|
|
4908b17 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
4908b17 |
|
|
|
067171f |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.9-5
|
|
|
067171f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
067171f |
|
|
|
6dcf78d |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.9-4
|
|
|
6dcf78d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6dcf78d |
|
|
|
948bffe |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.9-3
|
|
|
948bffe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
948bffe |
|
|
|
28fd01e |
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 3.4.9-2
|
|
|
28fd01e |
- Rebuilt for Boost 1.63
|
|
|
28fd01e |
|
|
|
b5809e5 |
* Thu Dec 22 2016 Christopher Tubbs <ctubbsii@fedoraproject.org> - 3.4.9-1
|
|
|
b5809e5 |
- Update to 3.4.9; CVE-2016-5017 (bz#1377281)
|
|
|
b5809e5 |
|
|
|
6bf81fc |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.6-17
|
|
|
6bf81fc |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
6bf81fc |
|
|
|
b460c4d |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.6-16
|
|
|
b460c4d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
b460c4d |
|
|
|
87e2ba4 |
* Sat Jan 16 2016 Jonathan Wakely <jwakely@redhat.com> - 3.4.6-15
|
|
|
87e2ba4 |
- Rebuilt for Boost 1.60
|
|
|
87e2ba4 |
|
|
|
e584293 |
* Sun Nov 15 2015 Christopher Tubbs <ctubbsii-fedora@apache.org> - 3.4.6-14
|
|
|
e584293 |
- Remove duplicates and fix broken classpath items in zkEnv
|
|
|
e584293 |
|
|
|
a0f8499 |
* Tue Nov 03 2015 Christopher Tubbs <ctubbsii-fedora@apache.org> - 3.4.6-13
|
|
|
a0f8499 |
- Remove unused build dependency log4cxx
|
|
|
a0f8499 |
|
|
|
82dc574 |
* Mon Oct 19 2015 Christopher Tubbs <ctubbsii-fedora@apache.org> - 3.4.6-12
|
|
|
82dc574 |
- Fix bz#1272694 Remove precondition on myid file for standalone defaults
|
|
|
82dc574 |
|
|
|
733474f |
* Fri Oct 16 2015 Christopher Tubbs <ctubbsii-fedora@apache.org> - 3.4.6-11
|
|
|
733474f |
- Fix bad rollback. Rollback to netty 3.6.6, not 3.7.0 (f21 only)
|
|
|
733474f |
|
|
|
50d79a7 |
* Fri Oct 16 2015 Christopher Tubbs <ctubbsii-fedora@apache.org> - 3.4.6-10
|
|
|
50d79a7 |
- Rollback changes for netty 3.9.3 for f21 only
|
|
|
50d79a7 |
|
|
|
216e5ae |
* Fri Oct 16 2015 Christopher Tubbs <ctubbsii-fedora@apache.org> - 3.4.6-9
|
|
|
216e5ae |
- Update zkEnv.sh CLASSPATH to fix bz#1261458
|
|
|
216e5ae |
|
|
|
d1dd286 |
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 3.4.6-8
|
|
|
d1dd286 |
- Rebuilt for Boost 1.59
|
|
|
d1dd286 |
|
|
|
7f1b088 |
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.6-7
|
|
|
7f1b088 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
7f1b088 |
|
|
|
6aa8404 |
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 3.4.6-6
|
|
|
6aa8404 |
- rebuild for Boost 1.58
|
|
|
6aa8404 |
|
|
|
f30e2b8 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.6-5
|
|
|
f30e2b8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
f30e2b8 |
|
|
|
491a576 |
* Sun Feb 15 2015 Peter Robinson <pbrobinson@fedoraproject.org> 3.4.6-4
|
|
|
491a576 |
- Update netty3 patch for 3.9.3
|
|
|
491a576 |
|
|
Petr Machata |
ee8d255 |
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 3.4.6-3
|
|
Petr Machata |
ee8d255 |
- Rebuild for boost 1.57.0
|
|
Petr Machata |
ee8d255 |
|
|
Timothy St. Clair |
b1ff57a |
* Thu Oct 23 2014 Timothy St. Clair <tstclair@redhat.com> - 3.4.6-2
|
|
Timothy St. Clair |
b1ff57a |
- Add back -java subpackage
|
|
Timothy St. Clair |
b1ff57a |
|
|
Timothy St. Clair |
d34422e |
* Tue Oct 21 2014 Timothy St. Clair <tstclair@redhat.com> - 3.4.6-1
|
|
Timothy St. Clair |
da2547b |
- Update to latest stable series
|
|
Timothy St. Clair |
da2547b |
- Cleanup and overhaul package
|
|
Timothy St. Clair |
8ba2394 |
- Updated system integration
|
|
Timothy St. Clair |
da2547b |
|
|
|
a39c778 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.5-20
|
|
|
a39c778 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
a39c778 |
|
|
|
f5104b6 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.5-19
|
|
|
f5104b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f5104b6 |
|
|
Petr Machata |
e16f7ab |
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 3.4.5-18
|
|
Petr Machata |
e16f7ab |
- Rebuild for boost 1.55.0
|
|
Petr Machata |
e16f7ab |
|
|
Timothy St. Clair |
7accb41 |
* Mon Feb 24 2014 Timothy St. Clair <tstclair@redhat.com> - 3.4.5-17
|
|
Timothy St. Clair |
7accb41 |
- Update due to cascading dependencies around java-headless
|
|
Timothy St. Clair |
7accb41 |
|
|
Timothy St. Clair |
3d94c04 |
* Fri Jan 31 2014 Timothy St. Clair <tstclair@redhat.com> - 3.4.5-16
|
|
Timothy St. Clair |
3d94c04 |
- Update of tests.jar due to netty3 compat packaging conflicts
|
|
Timothy St. Clair |
3d94c04 |
|
|
Timothy St. Clair |
671bd17 |
* Fri Jan 24 2014 Timothy St. Clair <tstclair@redhat.com> - 3.4.5-15
|
|
Timothy St. Clair |
a504250 |
- Update jline and netty3 for f21 builds
|
|
Timothy St. Clair |
671bd17 |
|
|
Timothy St. Clair |
b086009 |
* Fri Oct 25 2013 Timothy St. Clair <tstclair@redhat.com> - 3.4.5-14
|
|
Timothy St. Clair |
fd7e1f3 |
- Update dependencies to jline1
|
|
Timothy St. Clair |
fd7e1f3 |
|
|
Timothy St. Clair |
a7f6eee |
* Wed Sep 18 2013 Timothy St. Clair <tstclair@redhat.com> - 3.4.5-13
|
|
Timothy St. Clair |
a7f6eee |
- Fixed the atomic patch which actually caused recursive crashing on zookeeper_close
|
|
Timothy St. Clair |
a7f6eee |
|
|
Petr Machata |
0c2f9b8 |
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 3.4.5-12
|
|
Petr Machata |
0c2f9b8 |
- Rebuild for boost 1.54.0
|
|
Petr Machata |
0c2f9b8 |
|
|
|
1a8f6bf |
* Tue Jul 30 2013 gil cattaneo <puntogil@libero.it> 3.4.5-11
|
|
|
abf296d |
- fix changelog entries
|
|
|
1a8f6bf |
|
|
Timothy St. Clair |
680f89e |
* Mon Jul 22 2013 Timothy St. Clair <tstclair@redhat.com> - 3.4.5-10
|
|
Timothy St. Clair |
f16f8e2 |
- update permissions to be in line with default policies
|
|
Timothy St. Clair |
f16f8e2 |
|
|
|
a8baeb6 |
* Mon Jul 22 2013 gil cattaneo <puntogil@libero.it> 3.4.5-9
|
|
|
a8baeb6 |
- removed not needed %%defattr (only required for rpm < 4.4)
|
|
|
a8baeb6 |
- removed not needed Group fields (new package guideline)
|
|
|
a8baeb6 |
- fix directory ownership in java sub package
|
|
|
a8baeb6 |
|
|
Timothy St. Clair |
680f89e |
* Mon Jul 22 2013 Timothy St. Clair <tstclair@redhat.com> - 3.4.5-8
|
|
Timothy St. Clair |
0b2fc1b |
- cleanup file ownership properties.
|
|
Timothy St. Clair |
0b2fc1b |
|
|
|
abf296d |
* Sat Jun 15 2013 Jeffrey C. Ollie <jeff@ocjtech.us> - 3.4.5-7
|
|
|
94aec27 |
- add server subpackage
|
|
|
94aec27 |
|
|
|
ebc3b4d |
* Fri Jun 14 2013 Dan Horák <dan[at]danny.cz> - 3.4.5-6
|
|
|
ebc3b4d |
- use fetch_and_add from GCC, fixes build on non-x86 arches
|
|
|
ebc3b4d |
|
|
|
e5b4022 |
* Tue Jun 11 2013 gil cattaneo <puntogil@libero.it> 3.4.5-5
|
|
|
e5b4022 |
- fixed zookeeper.so non-standard-executable-perm thanks to Björn Esser
|
|
|
e5b4022 |
|
|
|
e5b4022 |
* Tue Jun 11 2013 gil cattaneo <puntogil@libero.it> 3.4.5-4
|
|
|
e5b4022 |
- enabled hardened-builds
|
|
|
e5b4022 |
- fixed fully versioned dependency in subpackages (lib-devel and python)
|
|
|
e5b4022 |
- fixed License tag
|
|
|
e5b4022 |
- moved large documentation in lib-doc subpackage
|
|
|
e5b4022 |
|
|
|
e5b4022 |
* Sat Apr 27 2013 gil cattaneo <puntogil@libero.it> 3.4.5-3
|
|
|
e5b4022 |
- built ZooInspector
|
|
|
e5b4022 |
- added additional poms files
|
|
|
e5b4022 |
|
|
|
e5b4022 |
* Tue Apr 23 2013 gil cattaneo <puntogil@libero.it> 3.4.5-2
|
|
|
e5b4022 |
- building/packaging of the zookeeper-test.jar thanks to Robert Rati
|
|
|
e5b4022 |
|
|
|
e5b4022 |
* Sun Dec 02 2012 gil cattaneo <puntogil@libero.it> 3.4.5-1
|
|
|
e5b4022 |
- update to 3.4.5
|
|
|
e5b4022 |
|
|
|
e5b4022 |
* Tue Oct 30 2012 gil cattaneo <puntogil@libero.it> 3.4.4-3
|
|
|
e5b4022 |
- fix missing hostname
|
|
|
e5b4022 |
|
|
|
e5b4022 |
* Fri Oct 12 2012 gil cattaneo <puntogil@libero.it> 3.4.4-2
|
|
|
e5b4022 |
- add ant-junit as BR
|
|
|
e5b4022 |
|
|
|
e5b4022 |
* Fri Oct 12 2012 gil cattaneo <puntogil@libero.it> 3.4.4-1
|
|
|
e5b4022 |
- update to 3.4.4
|
|
|
e5b4022 |
|
|
|
e5b4022 |
* Fri May 18 2012 gil cattaneo <puntogil@libero.it> 3.4.3-1
|
|
|
94aec27 |
- initial rpm
|