!6 upgrade the version to 2.0.1
From: @huyuqi2 Reviewed-by: @myeuler Signed-off-by: @myeuler
This commit is contained in:
commit
1c368022da
BIN
2.0.0.tar.gz
BIN
2.0.0.tar.gz
Binary file not shown.
@ -1,15 +1,19 @@
|
||||
Name: python-tomli
|
||||
Version: 2.0.0
|
||||
Version: 2.0.1
|
||||
Release: 1
|
||||
Summary: A little TOML parser for Python
|
||||
License: MIT
|
||||
URL: https://pypi.org/project/tomli/
|
||||
Source0: https://github.com/hukkin/tomli/archive/refs/tags/%{version}.tar.gz
|
||||
URL: https://github.com/hukkin/tomli
|
||||
Source0: https://files.pythonhosted.org/packages/c0/3f/d7af728f075fb08564c5949a9c95e44352e23dee646869fa104a3b2060a3/tomli-2.0.1.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-dateutil
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pbr
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
|
||||
%global _description %{expand:
|
||||
Tomli is a Python library for parsing TOML.
|
||||
@ -36,18 +40,21 @@ EOF
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{python3_sitelib}
|
||||
cp -a tomli %{distinfo} %{buildroot}%{python3_sitelib}
|
||||
cp -a src/tomli %{distinfo} %{buildroot}%{python3_sitelib}
|
||||
echo '%{python3_sitelib}/tomli/' > %{pyproject_files}
|
||||
echo '%{python3_sitelib}/%{distinfo}/' >> %{pyproject_files}
|
||||
|
||||
%check
|
||||
pytest
|
||||
#%check
|
||||
#no test items
|
||||
#pytest
|
||||
|
||||
%files -n python3-tomli -f %{pyproject_files}
|
||||
%doc README.md
|
||||
%doc CHANGELOG.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Sat Jun 04 2022 OpenStack_SIG <openstack@openeuler.org> - 2.0.1-1
|
||||
- Upgrade python3-tomli to version 2.0.1
|
||||
|
||||
* Tue Mar 1 2022 zhangy <zhangy1317@foxmai.com> - 2.0.0
|
||||
- Init packages
|
||||
|
||||
BIN
tomli-2.0.1.tar.gz
Normal file
BIN
tomli-2.0.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user