diff options
author | Andrei Belov <defan@nginx.com> | 2018-01-22 16:39:31 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2018-01-22 16:39:31 +0300 |
commit | 0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939 (patch) | |
tree | 0f1610a6b727325a80ce3e7d458a457e3ec760ac /pkg/rpm/Makefile.python | |
parent | be8df0631a6fa4e5afa8c03ed5b84cec72da20d4 (diff) | |
download | unit-0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939.tar.gz unit-0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939.tar.bz2 |
Packages: added support for Amazon Linux.
Diffstat (limited to 'pkg/rpm/Makefile.python')
-rw-r--r-- | pkg/rpm/Makefile.python | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile.python b/pkg/rpm/Makefile.python index 21ba8a5d..f13179b5 100644 --- a/pkg/rpm/Makefile.python +++ b/pkg/rpm/Makefile.python @@ -12,7 +12,12 @@ MODULE_INSTARGS_python= python-install MODULE_SOURCES_python= unit.example-python-app \ unit.example-python-config +ifeq ($(shell rpm --eval "%{?amzn}"), 1) +BUILD_DEPENDS_python= python26-devel +else BUILD_DEPENDS_python= python-devel +endif + BUILD_DEPENDS+= $(BUILD_DEPENDS_python) define MODULE_PREINSTALL_python |