Upgrade packagei version to 0.12.1 for OpenStack Wallaby support
(cherry picked from commit 0b8e1694a62b89e6909a52360eef0fd443a885b9)
This commit is contained in:
parent
f0e7867058
commit
7ccc397acd
@ -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
|
||||||
|
Summary: A Python data validation library
|
||||||
Provides: python-voluptuous
|
Provides: python-voluptuous
|
||||||
Summary: python-voluptuous
|
# Base build requires
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
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
|
||||||
@ -66,6 +67,9 @@ 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
BIN
voluptuous-0.12.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user