diff options
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 |