summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2020-06-16 15:02:29 +0300
committerAndrei Belov <defan@nginx.com>2020-06-16 15:02:29 +0300
commit22c917bead38df560bb112006d0b4a28aa8919d3 (patch)
tree387848dbc6bf358c7a41e993cd2874829884daaa /pkg/rpm/Makefile
parent5fa3108e63ed0029daac34a3a24b45d4a8644add (diff)
downloadunit-22c917bead38df560bb112006d0b4a28aa8919d3.tar.gz
unit-22c917bead38df560bb112006d0b4a28aa8919d3.tar.bz2
Packages: added Fedora 32 support.
Diffstat (limited to 'pkg/rpm/Makefile')
-rw-r--r--pkg/rpm/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile
index 8bc96d99..70100896 100644
--- a/pkg/rpm/Makefile
+++ b/pkg/rpm/Makefile
@@ -124,8 +124,12 @@ endif
ifeq ($(OSVER), fedora)
include Makefile.php
+ifeq ($(shell test `rpm --eval '0%{?fedora} -lt 32'`; echo $$?),0)
include Makefile.python27
-ifeq ($(shell test `rpm --eval '0%{?fedora} -ge 29'`; echo $$?),0)
+endif
+ifeq ($(shell test `rpm --eval '0%{?fedora} -ge 32'`; echo $$?),0)
+include Makefile.python38
+else ifeq ($(shell test `rpm --eval '0%{?fedora} -ge 29'`; echo $$?),0)
include Makefile.python37
else
include Makefile.python36