Update package yamlloader of version 1.1.0
This commit is contained in:
parent
87810ff4f0
commit
d053b56b19
@ -1,11 +1,11 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-yamlloader
|
Name: python-yamlloader
|
||||||
Version: 1.0.0
|
Version: 1.1.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Ordered YAML loader and dumper for PyYAML.
|
Summary: Ordered YAML loader and dumper for PyYAML.
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/Phynix/yamlloader
|
URL: https://github.com/Phynix/yamlloader
|
||||||
Source0: yamlloader-1.0.0.tar.gz
|
Source0: yamlloader-1.1.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
This module provides loaders and dumpers for PyYAML.
|
This module provides loaders and dumpers for PyYAML.
|
||||||
@ -37,15 +37,16 @@ Provides: python3-yamlloader-doc
|
|||||||
This module provides loaders and dumpers for PyYAML.
|
This module provides loaders and dumpers for PyYAML.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n yamlloader-1.0.0 -p1
|
%autosetup -n yamlloader-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
|
|
||||||
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
@ -74,16 +75,16 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%check
|
%check
|
||||||
%{__python3} -m pytest
|
%{__python3} -m pytest
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-yamlloader -f filelist.lst
|
%files -n python3-yamlloader -f filelist.lst
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.0.0-2
|
||||||
- DESC: delete -S git from %autosetup
|
- 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