From 2d2b5048bc2150ed9abe7f0f24372442e277b738 Mon Sep 17 00:00:00 2001 From: Andrei Belov Date: Thu, 1 Mar 2018 23:03:03 +0300 Subject: Packages: added openSUSE Leap, openSUSE Tumbleweed, SLES support. --- pkg/rpm/Makefile.python27 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkg/rpm/Makefile.python27') diff --git a/pkg/rpm/Makefile.python27 b/pkg/rpm/Makefile.python27 index 9f13ad9e..fe09bf1f 100644 --- a/pkg/rpm/Makefile.python27 +++ b/pkg/rpm/Makefile.python27 @@ -13,7 +13,12 @@ MODULE_INSTARGS_python27= python2.7-install MODULE_SOURCES_python27= unit.example-python-app \ unit.example-python27-config +ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed sles)) +BUILD_DEPENDS_python27= python-devel +else BUILD_DEPENDS_python27= python27-devel +endif + BUILD_DEPENDS+= $(BUILD_DEPENDS_python27) define MODULE_PREINSTALL_python27 -- cgit