upgrade version to 4.1.0
This commit is contained in:
parent
56917f3a14
commit
466b6bcb38
Binary file not shown.
BIN
oslo.serialization-4.1.0.tar.gz
Normal file
BIN
oslo.serialization-4.1.0.tar.gz
Normal file
Binary file not shown.
@ -1,47 +1,60 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-oslo-serialization
|
Name: python-oslo-serialization
|
||||||
Version: 4.0.1
|
Version: 4.1.0
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Oslo Serialization library
|
Summary: Oslo Serialization library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://opendev.org/openstack/oslo.serialization
|
URL: https://docs.openstack.org/oslo.serialization/latest/
|
||||||
Source0: https://files.pythonhosted.org/packages/bb/9e/1a2a571ec7879dcd1fe3719255ecaf0ff97d8a84c5d72a6df6e4033be684/oslo.serialization-4.0.1.tar.gz
|
Source0: https://files.pythonhosted.org/packages/0a/85/9af1feeff44ee56868145674e0c2e6654e8ff2241c5bc178bb9539065c3d/oslo.serialization-4.1.0.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: python3-msgpack
|
|
||||||
Requires: python3-pbr
|
|
||||||
Requires: python3-pytz
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OpenStack library for serialization
|
The oslo.serialization library provides support for representing objects in
|
||||||
|
transmittable and storable formats, such as Base64, JSON and MessagePack.
|
||||||
|
|
||||||
%package -n python3-oslo-serialization
|
%package -n python3-oslo-serialization
|
||||||
Summary: Oslo Serialization library
|
Summary: Oslo Serialization library
|
||||||
Provides: python-oslo-serialization
|
Provides: python-oslo-serialization
|
||||||
|
# Base build requires
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-pip
|
|
||||||
BuildRequires: python3-pbr
|
BuildRequires: python3-pbr
|
||||||
%description -n python3-oslo-serialization
|
BuildRequires: python3-pip
|
||||||
OpenStack library for serialization
|
BuildRequires: python3-wheel
|
||||||
|
# General requires
|
||||||
|
BuildRequires: python3-msgpack
|
||||||
|
BuildRequires: python3-oslo-utils
|
||||||
|
BuildRequires: python3-pytz
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-oslotest
|
||||||
|
BuildRequires: python3-fixtures
|
||||||
|
# General requires
|
||||||
|
Requires: python3-msgpack
|
||||||
|
Requires: python3-oslo-utils
|
||||||
|
Requires: python3-pbr
|
||||||
|
Requires: python3-pytz
|
||||||
|
|
||||||
|
%description -n python3-oslo-serialization
|
||||||
|
The oslo.serialization library provides support for representing objects in
|
||||||
|
transmittable and storable formats, such as Base64, JSON and MessagePack.
|
||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Development documents and examples for oslo.serialization
|
Summary: Oslo Serialization library
|
||||||
Provides: python3-oslo-serialization-doc
|
Provides: python3-oslo-serialization-doc
|
||||||
%description help
|
|
||||||
OpenStack library for serialization
|
|
||||||
|
|
||||||
|
%description help
|
||||||
|
The oslo.serialization library provides support for representing objects in
|
||||||
|
transmittable and storable formats, such as Base64, JSON and MessagePack.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n oslo.serialization-4.0.1
|
%autosetup -n oslo.serialization-4.1.0
|
||||||
|
|
||||||
%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
|
||||||
@ -68,13 +81,19 @@ popd
|
|||||||
mv %{buildroot}/filelist.lst .
|
mv %{buildroot}/filelist.lst .
|
||||||
mv %{buildroot}/doclist.lst .
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__python3} -m pytest
|
||||||
|
|
||||||
%files -n python3-oslo-serialization -f filelist.lst
|
%files -n python3-oslo-serialization -f filelist.lst
|
||||||
|
|
||||||
%dir %{python3_sitelib}/*
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
%files help -f doclist.lst
|
%files help -f doclist.lst
|
||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 15 2021 yaozc701 <yaozc7@foxmail.com> - 4.1.0-1
|
||||||
|
- Upgrade version to 4.1.0
|
||||||
* Fri Jan 29 2021 zhangy <zhangy1317@foxmail.com>
|
* Fri Jan 29 2021 zhangy <zhangy1317@foxmail.com>
|
||||||
- Add buildrequires
|
- Add buildrequires
|
||||||
* Fri Jan 08 2021 Python_Bot <Python_Bot@openeuler.org>
|
* Fri Jan 08 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user