diff --git a/python3-pyside2.changes b/python3-pyside2.changes index 827651f..e3de8b8 100644 --- a/python3-pyside2.changes +++ b/python3-pyside2.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Apr 23 12:10:27 UTC 2021 - Christophe Giboudeaux + +- Exclude internal imports detected by qml-autoreqprov. + +------------------------------------------------------------------- +Wed Apr 7 22:56:48 UTC 2021 - Dirk Müller + +- avoid repackaging the pkgconfig and cmake directories - they are + provided by the filesystem package + ------------------------------------------------------------------- Tue Sep 15 06:23:38 UTC 2020 - Christophe Giboudeaux diff --git a/python3-pyside2.spec b/python3-pyside2.spec index dfb25e9..8f9d8c4 100644 --- a/python3-pyside2.spec +++ b/python3-pyside2.spec @@ -1,7 +1,7 @@ # # spec file for package python3-pyside2 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,6 +18,9 @@ %bcond_with tests +# QML imports created and used by examples +%global __requires_exclude qmlimport\\((Charts|TextBalloonPlugin) + %define mypython python3 BuildRequires: python3-devel BuildRequires: python3-setuptools @@ -197,8 +200,10 @@ rm -Rf %{buildroot}%{_datadir}/PySide2/typesystems/typesystem_*_win.xml %exclude %{_datadir}/PySide2/examples %{_includedir}/* %{_libdir}/*.so -%{_libdir}/cmake -%{_libdir}/pkgconfig +%{_libdir}/cmake/PySide2-%{version} +%{_libdir}/cmake/Shiboken2-%{version} +%{_libdir}/pkgconfig/pyside2.pc +%{_libdir}/pkgconfig/shiboken2.pc %{_mandir}/man*/* %files examples