mirror of
https://github.com/ceph/ceph
synced 2024-12-17 00:46:05 +00:00
build/ops: rpm: package byte-compiled ceph-rest-api
This is only necessary on Python 3-only systems. Signed-off-by: Nathan Cutler <ncutler@suse.com>
This commit is contained in:
parent
661ccdbaa1
commit
b2d45578e7
@ -1379,7 +1379,12 @@ fi
|
||||
%{_bindir}/ceph-monstore-tool
|
||||
%{_mandir}/man8/ceph-mon.8*
|
||||
%{_mandir}/man8/ceph-rest-api.8*
|
||||
%if 0%{with python2}
|
||||
%{python_sitelib}/ceph_rest_api.py*
|
||||
%else
|
||||
%{python3_sitelib}/ceph_rest_api.py
|
||||
%{python3_sitelib}/__pycache__/ceph_rest_api.cpython*.py*
|
||||
%endif
|
||||
%{_unitdir}/ceph-mon@.service
|
||||
%{_unitdir}/ceph-mon.target
|
||||
%attr(750,ceph,ceph) %dir %{_localstatedir}/lib/ceph/mon
|
||||
|
Loading…
Reference in New Issue
Block a user