!5 [sync] PR-4: Upgrade package version to 0.12.1 for OpenStack Wallaby support

From: @openeuler-sync-bot
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-08-20 01:41:15 +00:00 committed by Gitee
commit 7969bf1d05
3 changed files with 38 additions and 31 deletions

View File

@ -1,45 +1,46 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-voluptuous Name: python-voluptuous
Version: 0.12.0 Version: 0.12.1
Release: 1 Release: 1
Summary: python-voluptuous Summary: A Python data validation library
License: BSD 3-Clause License: BSD 3-Clause
URL: https://github.com/alecthomas/voluptuous URL: https://github.com/alecthomas/voluptuous
Source0: https://files.pythonhosted.org/packages/04/87/015fc3ccaa2e4c1a1d427ec27b12c144027acf55bdcba53634a6b69b9314/voluptuous-0.12.0.tar.gz Source0: https://files.pythonhosted.org/packages/17/0d/6e1e3ab6653720903efd7f644cc5be839d59ceb396143c08c1bebeab080b/voluptuous-0.12.1.tar.gz
BuildArch: noarch BuildArch: noarch
%description %description
Voluptuous, despite the name, is a Python data validation library. It is primarily intended for validating data coming into Python as JSON, YAML, etc. Voluptuous, despite the name, is a Python data validation library.
It is primarily intended for validating data coming into Python as
JSON, YAML, etc.
%package -n python3-voluptuous %package -n python3-voluptuous
Provides: python-voluptuous Summary: A Python data validation library
Summary: python-voluptuous Provides: python-voluptuous
BuildRequires: python3-devel # Base build requires
BuildRequires: python3-setuptools BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-nose
%description -n python3-voluptuous %description -n python3-voluptuous
Voluptuous, despite the name, is a Python data validation library.
Voluptuous, despite the name, is a Python data validation library. It is primarily intended for validating data coming into Python as JSON, YAML, etc. It is primarily intended for validating data coming into Python as
JSON, YAML, etc.
%package help %package help
Summary: Development documents and examples for voluptuous Summary: A Python data validation library
Provides: python3-voluptuous-doc Provides: python3-voluptuous-doc
%description help %description help
Voluptuous, despite the name, is a Python data validation library.
Voluptuous, despite the name, is a Python data validation library. It is primarily intended for validating data coming into Python as JSON, YAML, etc. It is primarily intended for validating data coming into Python as
JSON, YAML, etc.
%prep %prep
%autosetup -n voluptuous-0.12.0 %autosetup -n voluptuous-%{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
@ -47,25 +48,28 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot} pushd %{buildroot}
if [ -d usr/lib ]; then if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/lib64 ]; then if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/bin ]; then if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/sbin ]; then if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
touch doclist.lst touch doclist.lst
if [ -d usr/share/man ]; then if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi fi
popd popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check
nosetests-3
%files -n python3-voluptuous -f filelist.lst %files -n python3-voluptuous -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
@ -73,5 +77,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Tue Aug 03 2021 OpenStack_SIG <openstack@openeuler.org> - 0.12.1-1
- Upgrade version to 0.12.1
* Fri Nov 20 2020 Python_Bot <Python_Bot@openeuler.org> * Fri Nov 20 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated

Binary file not shown.

BIN
voluptuous-0.12.1.tar.gz Normal file

Binary file not shown.