|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: zookeeper
|
|
|
|
|
Version: 3.4.9
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Release: 11.1.riscv64%{?dist}
|
|
|
|
|
Summary: A high-performance coordination service for distributed applications
|
|
|
|
|
License: ASL 2.0 and BSD
|
|
|
|
|
URL: https://zookeeper.apache.org/
|
|
|
|
@ -19,6 +19,8 @@ Patch3: %{name}-3.4.9-server.patch
|
|
|
|
|
Patch4: mt_adaptor.c.patch
|
|
|
|
|
Patch5: 0001-cppunit-config-no-longer-exists-use-pkg-config.patch
|
|
|
|
|
Patch6: missing-pom.template.patch
|
|
|
|
|
# See: https://git-wip-us.apache.org/repos/asf?p=zookeeper.git;a=commit;h=5d187ff0adc836e6d18fd4c78188f52cdbb56c25
|
|
|
|
|
Patch7: zookeeper-3.4.9-5d187ff0adc836e6d18fd4c78188f52cdbb56c25.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
@ -120,7 +122,7 @@ Provides: zkpython%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: python2
|
|
|
|
|
|
|
|
|
|
%description -n python2-%{name}
|
|
|
|
|
The python-%{name} package contains Python bindings for %{name}.
|
|
|
|
|
The python2-%{name} package contains Python 2 bindings for %{name}.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
@ -215,9 +217,9 @@ mkdir -p %{buildroot}%{_javadocdir}/%{name}
|
|
|
|
|
cp -pr build/docs/api/* %{buildroot}%{_javadocdir}/%{name}/
|
|
|
|
|
|
|
|
|
|
pushd src/contrib/zkpython
|
|
|
|
|
%{__python} src/python/setup.py build --build-base=$PWD/build \
|
|
|
|
|
%{__python2} src/python/setup.py build --build-base=$PWD/build \
|
|
|
|
|
install --root=%{buildroot} ;\
|
|
|
|
|
chmod 0755 %{buildroot}%{python_sitearch}/zookeeper.so
|
|
|
|
|
chmod 0755 %{buildroot}%{python2_sitearch}/zookeeper.so
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
|
|
|
@ -299,11 +301,17 @@ getent passwd zookeeper >/dev/null || \
|
|
|
|
|
%doc LICENSE.txt NOTICE.txt
|
|
|
|
|
|
|
|
|
|
%files -n python2-%{name}
|
|
|
|
|
%{python2_sitearch}/ZooKeeper-?.?-py%{python_version}.egg-info
|
|
|
|
|
%{python2_sitearch}/ZooKeeper-?.?-py%{python2_version}.egg-info
|
|
|
|
|
%{python2_sitearch}/zookeeper.so
|
|
|
|
|
%doc LICENSE.txt NOTICE.txt src/contrib/zkpython/README
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Sep 17 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.4.9-11.1.riscv64
|
|
|
|
|
- Fix Python 2 packages
|
|
|
|
|
|
|
|
|
|
* Mon Sep 17 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 3.4.9-11.0.riscv64
|
|
|
|
|
- Fix compilation error
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.9-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|