diff --git a/jupyter_core-5.0.0.tar.gz b/jupyter_core-5.0.0.tar.gz deleted file mode 100644 index 00b81f3b24b88efb75a53c2c46c24e540302c004..0000000000000000000000000000000000000000 Binary files a/jupyter_core-5.0.0.tar.gz and /dev/null differ diff --git a/jupyter_core-5.3.1.tar.gz b/jupyter_core-5.3.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..6300232f3604a8e33ee786c89e7e5b590391fb0d Binary files /dev/null and b/jupyter_core-5.3.1.tar.gz differ diff --git a/python-jupyter-core.spec b/python-jupyter-core.spec index e3838959fbc83e5ef1d2cf1589142bcd3d3c7510..8dab38fb5b5886c6433238f74b296844472317f3 100644 --- a/python-jupyter-core.spec +++ b/python-jupyter-core.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-jupyter-core -Version: 5.0.0 +Version: 5.3.1 Release: 1 Summary: Jupyter core package. A base package on which Jupyter projects rely. License: BSD-3-Clause -URL: https://jupyter.org -Source0: https://files.pythonhosted.org/packages/62/0c/c48e8ae6c87548b066a5d968efa1a4376814eb61fec188ccaa4eb321579f/jupyter_core-5.0.0.tar.gz +URL: https://pypi.org/project/jupyter-core/ +Source0: %{url}/archive/%{version}/jupyter_core-%{version}.tar.gz Patch0: 0001-add-setup.py.patch BuildArch: noarch @@ -19,6 +19,10 @@ Summary: Jupyter core package. A base package on which Jupyter projects rely. Provides: python-jupyter-core = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-pip +BuildRequires: python3-hatchling +BuildRequires: python3-wheel %description -n python3-jupyter-core Jupyter core package. A base package on which Jupyter projects rely. @@ -34,43 +38,38 @@ Jupyter core package. A base package on which Jupyter projects rely. %autosetup -n jupyter_core-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} -if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst -fi -if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst -fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd -mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-jupyter-core -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-jupyter-core +#%dir %{python3_sitelib}/* +%{_bindir}/jupyter* +%{python3_sitelib}/__pycache__/jupyter* +%{python3_sitelib}/jupyter.py +%{python3_sitelib}/jupyter_core-*.dist-info +%{python3_sitelib}/jupyter_core/ %files help -f doclist.lst %{_docdir}/* %changelog +* Mon Jul 10 2023 li-miaomiao_zhr - 5.3.1-1 +- Update package to version 5.3.1 + * Thu Nov 10 2022 wangjunqi - 5.0.0-1 - Update package to version 5.0.0