Python 2 binary package renamed to python2-zookeeper

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:44:28 -04:00
parent 067171f919
commit 4908b17ccc
1 changed files with 9 additions and 4 deletions

View File

@ -3,7 +3,7 @@
Name: zookeeper
Version: 3.4.9
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A high-performance coordination service for distributed applications
License: ASL 2.0 and BSD
URL: https://zookeeper.apache.org/
@ -111,13 +111,14 @@ BuildArch: noarch
%description javadoc
This package contains javadoc for %{name}.
%package -n python-%{name}
%package -n python2-%{name}
%{?python_provide:%python_provide python2-%{name}}
Summary: Python support for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: zkpython%{?_isa} = %{version}-%{release}
Requires: python2
%description -n python-%{name}
%description -n python2-%{name}
The python-%{name} package contains Python bindings for %{name}.
%prep
@ -296,12 +297,16 @@ getent passwd zookeeper >/dev/null || \
%{_javadocdir}/%{name}
%doc LICENSE.txt NOTICE.txt
%files -n python-%{name}
%files -n python2-%{name}
%{python_sitearch}/ZooKeeper-?.?-py%{python_version}.egg-info
%{python_sitearch}/zookeeper.so
%doc LICENSE.txt NOTICE.txt src/contrib/zkpython/README
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.4.9-6
- Python 2 binary package renamed to python2-zookeeper
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.9-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild