Fix pycrypto backend setting to work when multiple distros are specified in DEB_DIST
This commit is contained in:
parent
ed51380c2c
commit
cde36b883c
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ Section: admin
|
|||
Priority: optional
|
||||
Standards-Version: 3.9.3
|
||||
Maintainer: Ansible, Inc. <info@ansible.com>
|
||||
Build-Depends: cdbs, debhelper (>= 5.0.0), asciidoc, python, dh-python | python-support, python-setuptools
|
||||
Build-Depends: cdbs, debhelper (>= 5.0.0), asciidoc, python, dh-python | python-support, python-setuptools, lsb-release
|
||||
Homepage: http://ansible.github.com/
|
||||
|
||||
Package: ansible
|
||||
|
|
|
@ -6,7 +6,7 @@ DEB_PYTHON2_MODULE_PACKAGES=ansible
|
|||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/class/python-distutils.mk
|
||||
|
||||
ifeq ($(DEB_DIST), trusty)
|
||||
ifeq ($(shell lsb_release -cs), trusty)
|
||||
export ANSIBLE_CRYPTO_BACKEND = pycrypto
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue