Skip to content

Commit f90e3e1

Browse files
authored
Merge pull request ceph#30036 from tchaikov/wip-python3-pkgversion
ceph.spec.in: s/pkgversion/version_nodots/ Reviewed-by: Sage Weil <[email protected]> Reviewed-by: Boris Ranto <[email protected]>
2 parents a6689e5 + 6d2f668 commit f90e3e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ceph.spec.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
%{!?_udevrulesdir: %global _udevrulesdir /lib/udev/rules.d}
8888
%{!?tmpfiles_create: %global tmpfiles_create systemd-tmpfiles --create}
8989
%{!?python3_pkgversion: %global python3_pkgversion 3}
90+
%{!?python3_version_nodots: %global python3_version_nodots 3}
9091
%{!?python3_version: %global python3_version 3}
9192
# define _python_buildid macro which will expand to the empty string when
9293
# building with python2
@@ -269,7 +270,7 @@ BuildRequires: python2-Cython
269270
%endif
270271
BuildRequires: python%{python3_pkgversion}-devel
271272
BuildRequires: python%{python3_pkgversion}-setuptools
272-
BuildRequires: python%{python3_pkgversion}-Cython
273+
BuildRequires: python%{python3_version_nodots}-Cython
273274
BuildRequires: python%{_python_buildid}-prettytable
274275
BuildRequires: python%{_python_buildid}-sphinx
275276
BuildRequires: lz4-devel >= 1.7

0 commit comments

Comments
 (0)