python-toml/python-toml.spec
2021-12-27 07:03:08 +00:00

58 lines
1.9 KiB
RPMSpec

Name: python-toml
Version: 0.10.2
Release: 2
Summary: Python Library for Tom's Obvious, Minimal Language
License: MIT
URL: https://github.com/uiri/toml
Source0: https://github.com/uiri/toml/archive/refs/tags/0.10.2.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
%description
TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics. TOML is designed to map unambiguously to a hash table. TOML should be easy to parse into data structures in a wide variety of languages.
%package -n python3-toml
Summary: Python Library for Tom's Obvious, Minimal Language
Provides: python-toml
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Provides: python%{python3_pkgversion}dist(toml) = %{version}
Provides: python%{python3_version}dist(toml) = %{version}
%description -n python3-toml
TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics. TOML is designed to map unambiguously to a hash table. TOML should be easy to parse into data structures in a wide variety of languages.
%package_help
%prep
%autosetup -n toml-0.10.2
%build
%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s'
%install
%_bindir/python3 setup.py install -O1 --skip-build --root %buildroot
%files -n python3-toml
%defattr(-,root,root)
%license LICENSE
%_prefix/lib/python%{python3_version}/site-packages/toml
%_prefix/lib/python%{python3_version}/site-packages/toml-%{version}-py%{python3_version}.egg-info
%files help
%defattr(-,root,root)
%doc README.rst
%changelog
* Mon Dec 27 2021 wangkerong<wangkerong@huawei.com> - 0.10.2-2
- provides python3.10(toml)
* Mon Jul 19 2021 jinzig<jinzhiguang@kylinos.cn> - 0.10.2-1
- update version to 0.10.2
* Thu Jun 18 2020 yanglu<yanglu60@huawei.com> - 0.10.0-2
- Change global
* Tue Feb 11 2020 huzunhao<huzunhao2@huawei.com> - 0.10.0-1
- Package init