]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: always use 3 as the default python3_{pkgversion,version}
authorKefu Chai <kchai@redhat.com>
Tue, 9 Apr 2019 15:15:16 +0000 (23:15 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 11 Jun 2019 15:44:22 +0000 (23:44 +0800)
as we have the rpm macros installed in
https://github.com/ceph/ceph-build/pull/1283 .

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 11f0b8d5a8951cb50437f5e87055f3b9405f4556)

ceph.spec.in

index f0631dd8c3f035144b8a88a0ab13c0b4a23514a3..56ac77d56c9e3fc926b006db2919bda34eb30457 100644 (file)
 
 %{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
 %{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
-%if 0%{?rhel} == 7
-%{!?python3_pkgversion: %global python3_pkgversion 36}
-%{!?python3_version: %global python3_version 3.6}
-%else
 %{!?python3_pkgversion: %global python3_pkgversion 3}
 %{!?python3_version: %global python3_version 3}
-%endif
 # unify libexec for all targets
 %global _libexecdir %{_exec_prefix}/lib