From 25fc6c974869ad740ff51bcc774f218bf02c3796 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Nov 08 2017 09:01:11 +0000 Subject: Fix issue in pyasn1 patch --- diff --git a/accommodate-changed-pyasn1-behaviour.patch b/accommodate-changed-pyasn1-behaviour.patch index 42e39df..70e02d6 100644 --- a/accommodate-changed-pyasn1-behaviour.patch +++ b/accommodate-changed-pyasn1-behaviour.patch @@ -28,7 +28,7 @@ diff -u -r1.9 syncrepl.py + if cookie is None or not cookie.hasValue(): + self.cookie = None + else: -+ self.cookie = str(self.cookie) ++ self.cookie = str(cookie) self.state = self.__class__.opnames[int(state)] self.entryUUID = str(uuid) - if self.cookie is not None: diff --git a/python-ldap.spec b/python-ldap.spec index 61db466..b74ed32 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -2,7 +2,7 @@ Name: python-ldap Version: 2.4.25 -Release: 8%{?dist} +Release: 9%{?dist} Epoch: 0 License: Python Group: System Environment/Libraries @@ -78,6 +78,9 @@ sed -i 's|#! python|#!/usr/bin/python|g' Demo/simplebrowse.py %{python_sitearch}/python_ldap-%{version}-*.egg-info %changelog +* Wed Nov 08 2017 Christian Heimes - 0:2.4.25-9 +- Fix issue in pyasn1 patch + * Tue Nov 07 2017 Christian Heimes - 0:2.4.25-8 - Apply fix for pyasn1 >= 0.3