diff --git a/python-yamlloader.spec b/python-yamlloader.spec index 2e97098..c453146 100644 --- a/python-yamlloader.spec +++ b/python-yamlloader.spec @@ -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 - 1.1.0-1 +- Upgrade package python3-yamlloader to version 1.1.0 + * Fri Jul 30 2021 chenyanpanHW - 1.0.0-2 - DESC: delete -S git from %autosetup diff --git a/yamlloader-1.0.0.tar.gz b/yamlloader-1.0.0.tar.gz deleted file mode 100644 index f5a8e7b..0000000 Binary files a/yamlloader-1.0.0.tar.gz and /dev/null differ diff --git a/yamlloader-1.1.0.tar.gz b/yamlloader-1.1.0.tar.gz new file mode 100644 index 0000000..1067146 Binary files /dev/null and b/yamlloader-1.1.0.tar.gz differ