diff options
author | Andrei Belov <defan@nginx.com> | 2018-03-01 23:03:03 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2018-03-01 23:03:03 +0300 |
commit | 2d2b5048bc2150ed9abe7f0f24372442e277b738 (patch) | |
tree | 25e6c9361709b590b3276174d2218e14dec5a5f5 /pkg/rpm/Makefile.python36 | |
parent | 1f06ccb6d898b6dbb2506e4a893691a67da80130 (diff) | |
download | unit-2d2b5048bc2150ed9abe7f0f24372442e277b738.tar.gz unit-2d2b5048bc2150ed9abe7f0f24372442e277b738.tar.bz2 |
Packages: added openSUSE Leap, openSUSE Tumbleweed, SLES support.
Diffstat (limited to '')
-rw-r--r-- | pkg/rpm/Makefile.python36 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile.python36 b/pkg/rpm/Makefile.python36 index a794c092..05ab2334 100644 --- a/pkg/rpm/Makefile.python36 +++ b/pkg/rpm/Makefile.python36 @@ -13,7 +13,12 @@ MODULE_INSTARGS_python36= python3.6-install MODULE_SOURCES_python36= unit.example-python-app \ unit.example-python36-config +ifneq (,$(findstring $(OSVER),opensuse-tumbleweed sles)) +BUILD_DEPENDS_python36= python3-devel +else BUILD_DEPENDS_python36= python36-devel +endif + BUILD_DEPENDS+= $(BUILD_DEPENDS_python36) define MODULE_PREINSTALL_python36 |