Hello community, here is the log from the commit of package kitemmodels for openSUSE:Leap:15.2 checked in at 2020-01-23 09:20:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/kitemmodels (Old) and /work/SRC/openSUSE:Leap:15.2/.kitemmodels.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kitemmodels" Thu Jan 23 09:20:43 2020 rev:60 rq:765623 version:5.66.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/kitemmodels/kitemmodels.changes 2020-01-19 15:49:43.929782517 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.kitemmodels.new.26092/kitemmodels.changes 2020-01-23 09:20:47.830696776 +0100 @@ -1,0 +2,6 @@ +Tue Jan 14 17:01:31 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Use python3 to build the python bindings. +- Fix the python bindings build and installation. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kitemmodels.spec ++++++ --- /var/tmp/diff_new_pack.hRYAJp/_old 2020-01-23 09:20:48.422697073 +0100 +++ /var/tmp/diff_new_pack.hRYAJp/_new 2020-01-23 09:20:48.426697075 +0100 @@ -16,7 +16,6 @@ # -%define clang_sonum 3.8 %define lname libKF5ItemModels5 %define _tar_path 5.66 # Full KF5 version (e.g. 5.33.0) @@ -45,11 +44,11 @@ BuildRequires: kf5-filesystem BuildRequires: cmake(Qt5Core) >= 5.11.0 %if %{with python} -BuildRequires: python-clang -BuildRequires: python-devel -BuildRequires: python-qt5-devel -BuildRequires: python-qt5-utils -BuildRequires: python-sip-devel +BuildRequires: python3-clang +BuildRequires: python3-devel +BuildRequires: python3-qt5-devel +BuildRequires: python3-qt5-utils +BuildRequires: python3-sip-devel %endif %description @@ -79,7 +78,7 @@ Summary: Set of item models extending the Qt model-view framework Group: Development/Libraries/KDE Requires: %{lname} = %{version} -%requires_python_sip_api +%requires_python3_sip_api %description -n python-%{name} KItemModels provides a set of item models extending the Qt model-view framework. @@ -90,7 +89,7 @@ %setup -q %build - %cmake_kf5 -d build -- -Dlibclang_LIBRARY=%{_libdir}/libclang.so.%{clang_sonum} + %cmake_kf5 -d build %make_jobs %install @@ -106,6 +105,7 @@ %{_kf5_debugdir}/*.categories %files devel +%license COPYING* %{_kf5_libdir}/libKF5ItemModels.so %{_kf5_libdir}/cmake/KF5ItemModels/ %{_kf5_includedir}/ @@ -113,7 +113,8 @@ %if %{with python} %files -n python-%{name} -%{py_libdir}/dist-packages/PyKF5 +%license COPYING* +%{python3_sitearch}/PyKF5 %{_datadir}/sip/PyKF5/ %endif
