]> git.apps.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, 9 Apr 2019 15:15:18 +0000 (23:15 +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>
ceph.spec.in

index afbe2b695b8117358c432a4add431452d58788d9..039db7946f98817d0a68c96186a0894b9628e95e 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
 # define _python_buildid macro which will expand to the empty string when
 # building with python2
 %global _python_buildid %{?_defined_if_python2_absent:%{python3_pkgversion}}