python-ruamel-yaml-clib/python-ruamel-yaml-clib.spec
Troy Dawson 6f05494f0c RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/python-ruamel-yaml-clib#0be32400a60821ba54352bc3291a2adf677cb1fe
2020-10-14 20:12:00 -07:00

56 lines
1.5 KiB
RPMSpec

%global pypi_name ruamel.yaml.clib
%global pname ruamel-yaml-clib
Name: python-%{pname}
Version: 0.1.2
Release: 4%{?dist}
Summary: C version of reader, parser and emitter for ruamel.yaml derived from libyaml
License: MIT
URL: https://bitbucket.org/ruamel/yaml.clib
Source0: %{pypi_source}
BuildRequires: gcc
BuildRequires: libyaml-devel
%description
It is the C based reader/scanner and emitter for ruamel.yaml.
%package -n python3-%{pname}
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-setuptools
%description -n python3-%{pname}
It is the C based reader/scanner and emitter for ruamel.yaml.
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%py3_build
%install
%{__python3} setup.py install --single-version-externally-managed --skip-build --root $RPM_BUILD_ROOT
%files -n python3-%{pname}
%license LICENSE
%doc README.rst
%{python3_sitearch}/_ruamel_yaml.cpython-*
%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%changelog
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-3
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Aug 30 2019 Chandan Kumar <raukadah@gmail.com> - 0.1.2-1
- Initial package