diff options
author | Remi Collet <remi@remirepo.net> | 2019-01-24 13:03:25 +0300 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-01-24 13:03:25 +0300 |
commit | b1649bce9ed1521a48e18b22fb58aaf09f9637b0 (patch) | |
tree | b8adae2f43382d807a6ee241217c541ca422a1cf /pkg/rpm/Makefile | |
parent | 2bc8fb7b43a5106ab8cdf8adae4834837ae7fc16 (diff) | |
download | unit-b1649bce9ed1521a48e18b22fb58aaf09f9637b0.tar.gz unit-b1649bce9ed1521a48e18b22fb58aaf09f9637b0.tar.bz2 |
Packages: Fedora >= 29 have python 3.7.
Closes #211.
Diffstat (limited to 'pkg/rpm/Makefile')
-rw-r--r-- | pkg/rpm/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile index ef7f3361..86b3e3f1 100644 --- a/pkg/rpm/Makefile +++ b/pkg/rpm/Makefile @@ -89,7 +89,11 @@ endif ifeq ($(OSVER), fedora) include Makefile.php include Makefile.python27 +ifeq ($(shell test `rpm --eval '0%{?fedora} -ge 29'`; echo $$?),0) +include Makefile.python37 +else include Makefile.python36 +endif include Makefile.go include Makefile.perl include Makefile.ruby |