diff --git python-ldaptor/python-ldaptor.spec python-ldaptor/python-ldaptor.spec.tmp index 434a531ffc..965e557b6f 100644 --- python-ldaptor/python-ldaptor.spec +++ python-ldaptor/python-ldaptor.spec.tmp @@ -4,7 +4,7 @@ Name: python-ldaptor Version: 16.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python LDAP client library License: LGPLv2 URL: https://github.com/twisted/ldaptor @@ -14,14 +14,22 @@ Source1: global.cfg BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools -Requires: %{required_modules} -%description -Ldaptor is LDAP library written in pure Python. The library implements LDAP -client logic, separately-accessible LDAP and BER protocol message generation -and parsing, ASCII format LDAP filter generation and parsing, LDIF format +%global _description\ +Ldaptor is LDAP library written in pure Python. The library implements LDAP\ +client logic, separately-accessible LDAP and BER protocol message generation\ +and parsing, ASCII format LDAP filter generation and parsing, LDIF format\ data generation, and Samba password changing logic. +%description %_description + +%package -n python2-ldaptor +Summary: %summary +Requires: %{required_modules} +%{?python_provide:%python_provide python2-ldaptor} + +%description -n python2-ldaptor %_description + %package doc Summary: Documentation for python-ldaptor package BuildRequires: dia libxslt docbook-style-xsl docbook-slides source-highlight epydoc python-docutils @@ -80,7 +88,7 @@ install -d -m 0755 %{buildroot}%{_pkgdocdir} #done -%files +%files -n python2-ldaptor %license LICENSE %exclude %{_pkgdocdir}/*/ %dir %{_sysconfdir}/ldaptor @@ -100,6 +108,10 @@ install -d -m 0755 %{buildroot}%{_pkgdocdir} %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 16.0.1-2 +- Python 2 binary package renamed to python2-ldaptor + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Mar 8 2017 Haïkel Guémar - 16.0.1-1 - Upstream 16.0.1-1