diff --git a/python-qtconsole.spec b/python-qtconsole.spec index a7df763..7b1fdf6 100644 --- a/python-qtconsole.spec +++ b/python-qtconsole.spec @@ -1,6 +1,7 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-qtconsole Version: 5.2.2 -Release: 1mamba +Release: 2mamba Summary: A rich Qt-based console for working with Jupyter kernels, supporting rich media output, session export, and more Group: System/Libraries Vendor: openmamba @@ -10,9 +11,17 @@ URL: https://pypi.org/project/qtconsole/ Source: https://pypi.debian.net/qtconsole/qtconsole-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(ipykernel) +BuildRequires: python3.7dist(ipython-genutils) +BuildRequires: python3.7dist(jupyter-client) +BuildRequires: python3.7dist(jupyter-core) +BuildRequires: python3.7dist(pygments) +BuildRequires: python3.7dist(pyzmq) +BuildRequires: python3.7dist(qtpy) +BuildRequires: python3.7dist(setuptools) +BuildRequires: python3.7dist(traitlets) ## AUTOBUILDREQ-END -BuildRequires: libpython-devel -Requires: python >= %python_version %description %{summary}. @@ -36,18 +45,18 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -## note: this list is just an example; modify as required -# %{python_sitearch}/%{name}.py* -# %{python_sitearch}/%{name}.so +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %doc LICENSE -## note: add extra documentation (if any) -# %doc README.md %changelog +* Sun Feb 13 2022 Silvan Calarco 5.2.2-2mamba +- rebuilt with distdeps + * Tue Dec 14 2021 Automatic Build System 5.2.2-1mamba - automatic version update by autodist