From 5ed4180cb95bd1c1a6ad370b733f9915b96d18ba Mon Sep 17 00:00:00 2001 From: luolu12 Date: Fri, 25 Aug 2023 10:29:03 +0800 Subject: [PATCH] fix the package provider name --- python-hatch-jupyter-builder.spec | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/python-hatch-jupyter-builder.spec b/python-hatch-jupyter-builder.spec index 084ca7e..e8d35a4 100644 --- a/python-hatch-jupyter-builder.spec +++ b/python-hatch-jupyter-builder.spec @@ -1,11 +1,11 @@ %global pypi_name hatch-jupyter-builder %global source_name hatch_jupyter_builder -%global pypi_version 0.8.3 + Name: python-%{pypi_name} -Version: %{pypi_version} -Release: 1 -Summary: This provides a build hook plugin for Hatch that adds a build step for use with Jupyter packages. +Version: 0.8.3 +Release: 2 +Summary: This provides a build hook plugin for Hatch that adds a build step for use with Jupyter packages. License: BSD-3-Clause URL: https://github.com/jupyterlab/hatch-jupyter-builder @@ -21,21 +21,21 @@ BuildRequires: python3-hatchling %description This provides a build hook plugin for Hatch that adds a build step for use with Jupyter packages. -%package -n python3-%{source_name} +%package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{source_name}} %package help Summary: Fix common misspellings in text files. -Provides: python3-%{source_name}-doc +Provides: python3-%{pypi_name}-doc %description help This provides a build hook plugin for Hatch that adds a build step for use with Jupyter packages. -%description -n python3-%{source_name} +%description -n python3-%{pypi_name} This provides a build hook plugin for Hatch that adds a build step for use with Jupyter packages. %prep -%autosetup -n %{source_name}-%{pypi_version} +%autosetup -n %{source_name}-%{version} %build %pyproject_build @@ -55,7 +55,7 @@ fi popd mv %{buildroot}/doclist.lst . -%files -n python3-%{source_name} +%files -n python3-%{pypi_name} %license LICENSE.txt %doc README.md %{python3_sitelib}/hatch_jupyter_builder* @@ -66,5 +66,8 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Fri Aug 25 2023 luolu12 - 0.8.3-2 +- Fix the provider name. + * Thu Aug 17 2023 luolu12 - 0.8.3-1 - Initial package.