Skip to content

Commit

Permalink
Merge pull request #7489 from cms-sw/smuzaffar-patch-1
Browse files Browse the repository at this point in the history
Update python-ldap 3.4.0
  • Loading branch information
smuzaffar committed Dec 7, 2021
2 parents 8f27f3a + a518cbf commit 1f4e6a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pip/python-ldap.file
@@ -1,2 +1,4 @@
Requires: openldap py3-pyasn1-modules
%define PipBuildOptions --global-option=build_ext --global-option="-L${PYTHON3_ROOT}/lib" --global-option="-L${OPENLDAP_ROOT}/lib" --global-option="-I${PYTHON3_ROOT}/include" --global-option="-I${OPENLDAP_ROOT}/include" --global-option="-UHAVE_SASL"
%define patchsrc0 sed -i -e "s|\\[_ldap\\]|[_ldap]\\ninclude_dirs = ${PYTHON3_ROOT}/include ${OPENLDAP_ROOT}/include|" setup.cfg
%define patchsrc1 sed -i -e "s|\\[_ldap\\]|[_ldap]\\nlibrary_dirs = ${PYTHON3_ROOT}/lib ${OPENLDAP_ROOT}/lib|" setup.cfg
%define patchsrc2 sed -i -e "s|HAVE_SASL||" setup.cfg
2 changes: 1 addition & 1 deletion pip/requirements.txt
Expand Up @@ -230,7 +230,7 @@ pytest-cov==2.12.1
pytest-runner==5.3.1
python-daemon==2.3.0
python-dateutil==2.8.2
python-ldap==3.3.1
python-ldap==3.4.0
python-rapidjson==1.4
pythran==0.9.12.post1
pytoml==0.1.21
Expand Down

0 comments on commit 1f4e6a9

Please sign in to comment.