diff options
| author | Andrei Belov <defan@nginx.com> | 2020-08-13 19:28:27 +0300 |
|---|---|---|
| committer | Andrei Belov <defan@nginx.com> | 2020-08-13 19:28:27 +0300 |
| commit | aff76e4f90b4e948c327ce2b021dc3203c33cbcd (patch) | |
| tree | 5bd6ac3aa92683777548472984c209bf26d8a971 /pkg/rpm/Makefile | |
| parent | 04ce9f997e0e49e57ce4b5fc4aa98134232a1974 (diff) | |
| parent | 6473d4b65a99aa10d509220fb99d8c4f65631ed0 (diff) | |
| download | unit-aff76e4f90b4e948c327ce2b021dc3203c33cbcd.tar.gz unit-aff76e4f90b4e948c327ce2b021dc3203c33cbcd.tar.bz2 | |
Merged with the default branch.1.19.0-1
Diffstat (limited to 'pkg/rpm/Makefile')
| -rw-r--r-- | pkg/rpm/Makefile | 6 |
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 |
