Check in python-ldap version 2.4.16

Fixes: #995545, #1007820, #1122486
This commit is contained in:
Petr Spacek 2014-09-25 10:16:14 +02:00
parent ee6620325f
commit f4657ad6a1
5 changed files with 25 additions and 17 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
python-ldap-2.3.10.tar.gz python-ldap-2.3.10.tar.gz
/python-ldap-2.3.12.tar.gz /python-ldap-2.3.12.tar.gz
/python-ldap-2.4.6.tar.gz /python-ldap-2.4.6.tar.gz
/python-ldap-2.4.16.tar.gz

View File

@ -0,0 +1,14 @@
diff -r -u3 python-ldap-2.4.16/setup.cfg python-ldap-2.4.16.fedora/setup.cfg
--- python-ldap-2.4.16/setup.cfg 2014-09-10 14:17:37.000000000 +0200
+++ python-ldap-2.4.16.fedora/setup.cfg 2014-09-25 10:20:47.555165683 +0200
@@ -1,8 +1,7 @@
[_ldap]
-library_dirs = /opt/openldap/lib64 /usr/lib
-include_dirs = /opt/openldap/include /usr/include/sasl /usr/include
+include_dirs = /usr/include/sasl /usr/include
defines = HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
-extra_compile_args =
+extra_compile_args = -g
extra_objects =
libs = ldap_r

View File

@ -1,11 +0,0 @@
diff -ur python-ldap-2.4.6.orig/setup.cfg python-ldap-2.4.6/setup.cfg
--- python-ldap-2.4.6.orig/setup.cfg 2011-11-27 16:28:04.000000000 +0100
+++ python-ldap-2.4.6/setup.cfg 2012-01-02 16:20:13.840989359 +0100
@@ -1,6 +1,5 @@
[_ldap]
-library_dirs = /opt/openldap-RE24/lib
-include_dirs = /opt/openldap-RE24/include /usr/include/sasl
+include_dirs = /usr/include/sasl
defines = HAVE_SASL HAVE_TLS
extra_compile_args = -g
extra_objects =

View File

@ -1,8 +1,8 @@
### Abstract ### ### Abstract ###
Name: python-ldap Name: python-ldap
Version: 2.4.6 Version: 2.4.16
Release: 7%{?dist} Release: 1%{?dist}
Epoch: 0 Epoch: 0
License: Python License: Python
Group: System Environment/Libraries Group: System Environment/Libraries
@ -12,14 +12,14 @@ Source0: http://pypi.python.org/packages/source/p/python-ldap/python-ldap-%{vers
### Patches ### ### Patches ###
# Fedora specific patch # Fedora specific patch
Patch0: python-ldap-2.4.6-dirs.patch Patch0: python-ldap-2.4.16-dirs.patch
### Dependencies ### ### Dependencies ###
Requires: openldap Requires: openldap
# LDAP controls, extop, syncrepl require pyasn1
Requires: python-pyasn1
### Build Dependencies ### ### Build Dependencies ###
BuildRequires: openldap-devel BuildRequires: openldap-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: python2-devel BuildRequires: python2-devel
@ -66,6 +66,10 @@ sed -i 's|#! python|#!/usr/bin/python|g' Demo/simplebrowse.py
%{python_sitearch}/python_ldap-%{version}-*.egg-info %{python_sitearch}/python_ldap-%{version}-*.egg-info
%changelog %changelog
* Thu Sep 25 2014 Petr Spacek <pspacek@redhat.com> - 0:2.4.16-1
- New upstream release fixes bug 1007820
- Dependency on pyasn1 was added to fix bug 995545
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.6-7 * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:2.4.6-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

View File

@ -1 +1 @@
0407757f2b6923dbe1f700c683e9e474 python-ldap-2.4.6.tar.gz 75549bad7eaaf4949f6adf80334f0acc python-ldap-2.4.16.tar.gz