summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.python34
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/rpm/Makefile.python34')
-rw-r--r--pkg/rpm/Makefile.python345
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile.python34 b/pkg/rpm/Makefile.python34
index ab4b285b..f7105644 100644
--- a/pkg/rpm/Makefile.python34
+++ b/pkg/rpm/Makefile.python34
@@ -13,7 +13,12 @@ MODULE_INSTARGS_python34= python3.4-install
MODULE_SOURCES_python34= unit.example-python-app \
unit.example-python34-config
+ifneq (,$(findstring $(OSVER),opensuse-leap sles))
+BUILD_DEPENDS_python34= python3-devel
+else
BUILD_DEPENDS_python34= python34-devel
+endif
+
BUILD_DEPENDS+= $(BUILD_DEPENDS_python34)
define MODULE_PREINSTALL_python34