%global _empty_manifest_terminate_build 0 %global pypi_name myst-nb Name: python-%{pypi_name} Version: 0.17.2 Release: 1 Summary: A collection of tools for working with Jupyter Notebooks in Sphinx. License: MIT URL: https://github.com/executablebooks/myst-nb Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz Patch1: 0001-modify-the-limitation-of-version-required.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-wheel BuildRequires: python3-hatchling BuildRequires: python3-virtualenv BuildRequires: python3-poetry-core BuildRequires: python3-flit-core %description A collection of tools for working with Jupyter Notebooks in Sphinx. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} A collection of tools for working with Jupyter Notebooks in Sphinx. %prep %autosetup -p1 -n %{pypi_name}-%{version} %build %pyproject_build %install %pyproject_install %files -n python3-%{pypi_name} %doc README.md %license LICENSE %{python3_sitelib}/myst_nb/* %{python3_sitelib}/myst_nb-0.17.2.dist-info/ %{_bindir}/mystnb* %changelog * Fri Jul 28 2023 zoujiancang - 0.17.2-1 - Initial package