File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 99
99
%define __python_cffi_pkg python%{__python_pkg_version}-cffi
100
100
%define __python_setuptools_pkg python%{__python_pkg_version}-setuptools
101
101
%endif
102
+ %define __python_sitelib %(%{__python} -Esc "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
102
103
103
104
# By default python-pyzfs is enabled, with the exception of
104
105
# RHEL 6 which by default uses Python 2.6 which is too old.
@@ -474,8 +475,8 @@ systemctl --system daemon-reload >/dev/null || true
474
475
%doc contrib/pyzfs/README
475
476
%doc contrib/pyzfs/LICENSE
476
477
%defattr(-,root,root,-)
477
- %{python_sitelib }/libzfs_core/*
478
- %{python_sitelib }/pyzfs*
478
+ %{__python_sitelib }/libzfs_core/*
479
+ %{__python_sitelib }/pyzfs*
479
480
%endif
480
481
481
482
%if 0%{?_initramfs}
You can’t perform that action at this time.
0 commit comments