diff --git python-ldaphelper/python-ldaphelper.spec python-ldaphelper/python-ldaphelper.spec.tmp index 3d7c568e21..eea841fef8 100644 --- python-ldaphelper/python-ldaphelper.spec +++ python-ldaphelper/python-ldaphelper.spec.tmp @@ -2,7 +2,7 @@ Name: python-ldaphelper Version: 1.0.1 -Release: 15%{?dist} +Release: 16%{?dist} Summary: A python wrapper for LDAP search results Group: Development/Languages @@ -14,12 +14,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python +%global _description\ +A wrapper for search results from python-ldap, which introduces an\ +LDAPSearchResults class, with various methods to make use of the\ +data. + +%description %_description + +%package -n python2-ldaphelper +Summary: %summary Requires: python-ldap +%{?python_provide:%python_provide python2-ldaphelper} -%description -A wrapper for search results from python-ldap, which introduces an -LDAPSearchResults class, with various methods to make use of the -data. +%description -n python2-ldaphelper %_description %prep %setup -q -n ldaphelper-%{version} @@ -36,13 +43,17 @@ install -pm 644 src/ldaphelper.py $RPM_BUILD_ROOT/%{python_sitelib} rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-ldaphelper %defattr(-,root,root,-) %doc README.txt GPL.txt MIT.txt %{python_sitelib}/ldaphelper.py* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0.1-16 +- Python 2 binary package renamed to python2-ldaphelper + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild