Skip to content
Permalink
Browse files
rpm packaging: account for fedora > 31
RocksDB failed to package on fedora 32 and 33 with

*** ERROR: ambiguous python shebang in /usr/bin/myrocks_hotbackup: #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
  • Loading branch information
vuvova committed Jun 9, 2021
1 parent 7e9bc7b commit bafec28
Showing 1 changed file with 1 addition and 1 deletion.
@@ -247,7 +247,7 @@ ELSEIF(RPM MATCHES "sles")
"mariadb-server = %{version}-%{release}"
)
ENDIF()
IF(RPM MATCHES "fedora31" OR RPM MATCHES "(rhel|centos)8")
IF(RPM MATCHES "fedora" OR RPM MATCHES "(rhel|centos)8")
SET(PYTHON_SHEBANG "/usr/bin/python3" CACHE STRING "python shebang")
ENDIF()

0 comments on commit bafec28

Please sign in to comment.