Fix pycrypto backend setting to work when multiple distros are specified in DEB_DIST

This commit is contained in:
Graham Mainwaring 2017-07-12 17:28:56 -04:00 committed by Toshio Kuratomi
parent ed51380c2c
commit cde36b883c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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