fix the package provider name
This commit is contained in:
parent
c7368860b0
commit
5ed4180cb9
@ -1,10 +1,10 @@
|
||||
%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
|
||||
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
|
||||
@ -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 <luluoc@isoftstone.com> - 0.8.3-2
|
||||
- Fix the provider name.
|
||||
|
||||
* Thu Aug 17 2023 luolu12 <luluoc@isoftstone.com> - 0.8.3-1
|
||||
- Initial package.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user