diff --git a/python3-pyside6.changes b/python3-pyside6.changes index 0c24e09..955944d 100644 --- a/python3-pyside6.changes +++ b/python3-pyside6.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 24 09:45:54 UTC 2023 - Frederic Crozat + +- Generate egg-info. + ------------------------------------------------------------------- Sat Apr 22 08:38:24 UTC 2023 - Christophe Marin diff --git a/python3-pyside6.spec b/python3-pyside6.spec index fb9a71e..00e7fe4 100644 --- a/python3-pyside6.spec +++ b/python3-pyside6.spec @@ -188,6 +188,11 @@ mkdir -p %{buildroot}%{_qt6_pluginsdir}/designer mv %{buildroot}%{_prefix}/plugins/designer/libPySidePlugin.so %{buildroot}%{_qt6_pluginsdir}/designer %endif +# Install egg-info +# qtpaths is needed +export PATH="%{_qt6_bindir}:$PATH" +python3 setup.py egg_info --build-type=%{pyside_flavor} +cp -r *.egg-info %{buildroot}%{python_sitearch} %fdupes -s %{buildroot}%{_libdir}/cmake @@ -252,6 +257,7 @@ popd %{_qt6_pluginsdir}/designer/libPySidePlugin.so %{python_sitearch}/PySide6/ %endif +%{python_sitearch}/*.egg-info %files devel %if "%{pyside_flavor}" == "shiboken6"