sitearch python2.

This commit is contained in:
Manuel Amador (Rudd-O) 2019-03-15 00:38:46 +00:00
parent 590ce707ad
commit 650577dcf6

View File

@ -1,4 +1,4 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python2_sitearch: %define python2_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%define debug_package %{nil}
@ -39,8 +39,8 @@ make install DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir} LIBDIR=%{_libdir}
%files
%attr(0755, root, root) %{_bindir}/qvm-static-ip
%attr(0644, root, root) %{python_sitearch}/qubes/modules/*.py*
%attr(0644, root, root) %{python_sitearch}/qubes/modules/qubes-appvm-firewall
%attr(0644, root, root) %{python2_sitearch}/qubes/modules/*.py*
%attr(0644, root, root) %{python2_sitearch}/qubes/modules/qubes-appvm-firewall
%doc README.md TODO
%changelog