52 lines
1.4 KiB
RPMSpec
52 lines
1.4 KiB
RPMSpec
%global _empty_manifest_terminate_build 0
|
|
%global pypi_name hatch-nodejs-version
|
|
%global source_name hatch_nodejs_version
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 0.3.2
|
|
Release: 1
|
|
Summary: Hatch plugin for versioning from a package.json file.
|
|
License: MIT
|
|
URL: https://github.com/agoose77/hatch-nodejs-version
|
|
Source0: https://files.pythonhosted.org/packages/af/b6/c9406cfa9edf740c6b3de6173408a159228eac0cee80eead4a5b9cc88848/hatch_nodejs_version-0.3.2.tar.gz
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3-wheel
|
|
BuildRequires: python3-hatchling
|
|
|
|
%description
|
|
Hatch plugin for versioning from a package.json file.
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
Hatch plugin for versioning from a package.json file.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n %{source_name}-%{version}
|
|
|
|
%build
|
|
%pyproject_build
|
|
|
|
%install
|
|
%pyproject_install
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%doc README.md
|
|
%license LICENSE.txt
|
|
%{python3_sitelib}/hatch_nodejs_version
|
|
%{python3_sitelib}/hatch_nodejs_version*.dist-info/
|
|
|
|
%changelog
|
|
* Fri Dec 08 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.3.2-1
|
|
- Update package to version 0.3.2
|
|
|
|
* Sun Jun 25 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.3.1-1
|
|
- Initial package 0.3.1 for mkdocs-material
|