2020-03-02 10:32:37 +08:00
|
|
|
%global pypi_name ruamel.yaml.clib
|
|
|
|
|
%global pname ruamel-yaml-clib
|
|
|
|
|
|
|
|
|
|
Name: python-%{pname}
|
2024-03-15 11:40:28 +08:00
|
|
|
Version: 0.2.8
|
2022-05-20 10:34:04 +08:00
|
|
|
Release: 1
|
2020-03-02 10:32:37 +08:00
|
|
|
Summary: C version of reader, parser and emitter for ruamel.yaml derived from libyaml
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://bitbucket.org/ruamel/yaml.clib
|
2024-03-15 11:40:28 +08:00
|
|
|
Source0: https://files.pythonhosted.org/packages/46/ab/bab9eb1566cd16f060b54055dd39cf6a34bfa0240c53a7218c43e974295b/ruamel.yaml.clib-0.2.8.tar.gz
|
2022-03-28 10:21:01 +08:00
|
|
|
|
2020-03-02 10:32:37 +08:00
|
|
|
BuildRequires: gcc libyaml-devel python3-devel python3-setuptools
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
It is the C based reader/scanner and emitter for ruamel.yaml.
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{pname}
|
|
|
|
|
Summary: %{summary}
|
2024-03-15 11:40:28 +08:00
|
|
|
Provides: python-%{pname} = %{version}-%{release}
|
2022-05-20 10:34:04 +08:00
|
|
|
Requires: python3-setuptools python3-ruamel-yaml
|
2020-03-02 10:32:37 +08:00
|
|
|
|
|
|
|
|
%description -n python3-%{pname}
|
|
|
|
|
It is the C based reader/scanner and emitter for ruamel.yaml.
|
|
|
|
|
|
2024-03-15 11:40:28 +08:00
|
|
|
%package help
|
|
|
|
|
Summary: Development documents and examples for ruamel.yaml
|
|
|
|
|
Provides: python3-%{pname}-doc
|
|
|
|
|
%description help
|
|
|
|
|
Development documents and examples for ruamel.yaml
|
2020-03-02 10:32:37 +08:00
|
|
|
|
|
|
|
|
%prep
|
2022-12-15 17:58:18 +08:00
|
|
|
%autosetup -n %{pypi_name}-%{version} -p1
|
2020-03-02 10:32:37 +08:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%{__python3} setup.py install --single-version-externally-managed --skip-build --root $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pname}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{python3_sitearch}/_ruamel_yaml.cpython-*
|
2022-05-20 10:34:04 +08:00
|
|
|
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
2020-03-02 10:32:37 +08:00
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc README.rst
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-03-15 11:40:28 +08:00
|
|
|
* Fri Mar 15 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 0.2.8-1
|
|
|
|
|
- Update package to version 0.2.8
|
|
|
|
|
|
2022-12-15 17:58:18 +08:00
|
|
|
* Thu Dec 15 2022 fushanqing <fushanqing@kylinos.cn> - 0.2.7-1
|
|
|
|
|
- update to 0.2.7
|
|
|
|
|
|
2022-05-20 10:34:04 +08:00
|
|
|
* Fri May 20 2022 yaoxin <yaoxin30@h-partners.com> - 0.2.6-1
|
|
|
|
|
- Update to 0.2.6
|
|
|
|
|
|
2022-03-28 10:21:01 +08:00
|
|
|
* Mon Mar 28 2022 xu_ping <xuping33@huawei.com> - 0.1.2-2
|
|
|
|
|
- Fix need Lvalue for increment and decrement operand
|
|
|
|
|
|
2020-03-02 10:32:37 +08:00
|
|
|
* Mon Mar 2 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.1.2-1
|
|
|
|
|
- Package init
|