commit 0c0da9482c32a2267fa9bfc68479142b5fdc5cea
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Wed Jan 24 18:21:40 2018 +0000
Use correct python2 macro
kodi.spec | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/kodi.spec b/kodi.spec
index 5faf34c..e29a8e2 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -5,11 +5,6 @@
#global DIRVERSION %{version}%{PRERELEASE}
%global _hardened_build 1
-%if (0%{?fedora} > 27)
-#Rawhide has stopped defining this correctly
-%global python_sitelib %(%{__python} -c "from distutils.sysconfig import
get_python_lib; print(get_python_lib())")
-%endif
-
# We support hte following options:
# --with,
# * dvd - Include optical drive support and DVD decryption
@@ -409,7 +404,7 @@ fi
%files eventclients
%license copying.txt LICENSE.GPL
-%{python_sitelib}/kodi
+%{python2_sitelib}/kodi
%dir %{_datadir}/pixmaps/kodi
%{_datadir}/pixmaps/kodi/*.png
%{_bindir}/kodi-ps3d
Show replies by date