From 0c4ec72ca8e1efaac747e5cf2cdc7b6688e0a939 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Mon, 22 Jan 2018 16:39:31 +0300 Subject: Packages: added support for Amazon Linux. --- pkg/rpm/Makefile.python | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg/rpm/Makefile.python') 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 -- cgit