summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile.python27
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2018-02-28 09:31:38 +0000
committerAndrei Belov <defan@nginx.com>2018-02-28 09:31:38 +0000
commitf2090bce21e4fb47d11f992a76ef5c4da74c3233 (patch)
tree3e3b0e8b0da8f4955a883a0879bb898ff2c3fe9a /pkg/rpm/Makefile.python27
parent2d2b5048bc2150ed9abe7f0f24372442e277b738 (diff)
downloadunit-f2090bce21e4fb47d11f992a76ef5c4da74c3233.tar.gz
unit-f2090bce21e4fb47d11f992a76ef5c4da74c3233.tar.bz2
Packages: added Fedora support.
Tested on currently supported releases: Fedora 26, Fedora 27.
Diffstat (limited to 'pkg/rpm/Makefile.python27')
-rw-r--r--pkg/rpm/Makefile.python272
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile.python27 b/pkg/rpm/Makefile.python27
index fe09bf1f..2464926a 100644
--- a/pkg/rpm/Makefile.python27
+++ b/pkg/rpm/Makefile.python27
@@ -15,6 +15,8 @@ MODULE_SOURCES_python27= unit.example-python-app \
ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed sles))
BUILD_DEPENDS_python27= python-devel
+else ifeq ($(OSVER), fedora)
+BUILD_DEPENDS_python27= python2-devel
else
BUILD_DEPENDS_python27= python27-devel
endif