diff options
author | Kefu Chai <kchai@redhat.com> | 2019-04-09 17:15:16 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2019-04-09 17:15:18 +0200 |
commit | 11f0b8d5a8951cb50437f5e87055f3b9405f4556 (patch) | |
tree | 5b9a4632d413604aa955a5dd3f866128670c7683 /ceph.spec.in | |
parent | Merge pull request #27455 from wjwithagen/wjw-fix-test_weighted_shuffle.cc (diff) | |
download | ceph-11f0b8d5a8951cb50437f5e87055f3b9405f4556.tar.xz ceph-11f0b8d5a8951cb50437f5e87055f3b9405f4556.zip |
rpm: always use 3 as the default python3_{pkgversion,version}
as we have the rpm macros installed in
https://github.com/ceph/ceph-build/pull/1283 .
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'ceph.spec.in')
-rw-r--r-- | ceph.spec.in | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index afbe2b695b8..039db7946f9 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -87,13 +87,8 @@ %{!?_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}} |