mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
rpm: force creation of Python 3 __pycache__ on SUSE
Signed-off-by: Nathan Cutler <ncutler@suse.com> Signed-off-by: Dominique Leuenberger <dimstar@opensuse.org>
This commit is contained in:
parent
8f7811551b
commit
a497a53737
@ -763,6 +763,11 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-osd
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-mds
|
||||
mkdir -p %{buildroot}%{_localstatedir}/lib/ceph/bootstrap-rgw
|
||||
|
||||
%if 0%{?suse_version}
|
||||
# create __pycache__ directories and their contents
|
||||
%py3_compile %{buildroot}%{python3_sitelib}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user