!5 Update package yamlloader of version 1.1.0
From: @A_L_I_E_Z Reviewed-by: @han-guangyu, @huangtianhua Signed-off-by: @han-guangyu, @huangtianhua
This commit is contained in:
commit
88bf671687
@ -1,11 +1,11 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: python-yamlloader
|
||||
Version: 1.0.0
|
||||
Release: 2
|
||||
Version: 1.1.0
|
||||
Release: 1
|
||||
Summary: Ordered YAML loader and dumper for PyYAML.
|
||||
License: MIT
|
||||
URL: https://github.com/Phynix/yamlloader
|
||||
Source0: yamlloader-1.0.0.tar.gz
|
||||
Source0: yamlloader-1.1.0.tar.gz
|
||||
BuildArch: noarch
|
||||
%description
|
||||
This module provides loaders and dumpers for PyYAML.
|
||||
@ -37,15 +37,16 @@ Provides: python3-yamlloader-doc
|
||||
This module provides loaders and dumpers for PyYAML.
|
||||
|
||||
%prep
|
||||
%autosetup -n yamlloader-1.0.0 -p1
|
||||
%autosetup -n yamlloader-%{version}
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||
|
||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||
@ -74,16 +75,16 @@ mv %{buildroot}/doclist.lst .
|
||||
%check
|
||||
%{__python3} -m pytest
|
||||
|
||||
|
||||
|
||||
%files -n python3-yamlloader -f filelist.lst
|
||||
%dir %{python3_sitelib}/*
|
||||
|
||||
|
||||
%files help -f doclist.lst
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Wed Jun 01 2022 OpenStack_SIG <openstack@openeuler.org> - 1.1.0-1
|
||||
- Upgrade package python3-yamlloader to version 1.1.0
|
||||
|
||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.0.0-2
|
||||
- DESC: delete -S git from %autosetup
|
||||
|
||||
|
||||
Binary file not shown.
BIN
yamlloader-1.1.0.tar.gz
Normal file
BIN
yamlloader-1.1.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user