!5 Update package

From: @liqiuyu123 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
This commit is contained in:
openeuler-ci-bot 2022-08-08 07:19:17 +00:00 committed by Gitee
commit 139005c1bd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 24 additions and 34 deletions

Binary file not shown.

BIN
daiquiri-3.2.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,44 +1,35 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-daiquiri Name: python-daiquiri
Version: 3.0.1 Version: 3.2.1
Release: 1 Release: 1
Summary: Library to configure Python logging easily Summary: Library to configure Python logging easily
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/jd/daiquiri URL: https://github.com/Mergifyio/daiquiri
Source0: https://files.pythonhosted.org/packages/39/a5/b81dbb0d1d94eb9b880e068aa827afc7afcd2a2cc5edff837af42df84796/daiquiri-3.0.1.tar.gz Source0: https://files.pythonhosted.org/packages/b8/c7/5409a7999ba9a448e56e8ef66bb5b4d19e286f87877436c53bce91bd07bc/daiquiri-3.2.1.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-pip
BuildRequires: python3-setuptools_scm
Requires: python3-json-logger
Requires: python3-systemd-python
Requires: python3-pytest
%description %description
The daiquiri library provides an easy way to configure logging. The daiquiri library provides an easy way to configure logging.
It also provides some custom formatters and handlers. It also provides some custom formatters and handlers.
%package -n python3-daiquiri %package -n python3-daiquiri
Summary: Library to configure Python logging easily Summary: Library to configure Python logging easily
Provides: python-daiquiri Provides: python-daiquiri
# Base build requires BuildRequires: python3-devel
BuildRequires: python3-devel BuildRequires: python3-setuptools
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-setuptools_scm
# General requires
BuildRequires: python3-json-logger
BuildRequires: python3-systemd
# Tests running requires
BuildRequires: python3-pytest
# General requires
Requires: python3-json-logger
Requires: python3-systemd
# Tests running requires
Requires: python3-pytest
%description -n python3-daiquiri %description -n python3-daiquiri
The daiquiri library provides an easy way to configure logging. The daiquiri library provides an easy way to configure logging.
It also provides some custom formatters and handlers. It also provides some custom formatters and handlers.
%package help %package help
Summary: Library to configure Python logging easily Summary: Library to configure Python logging easily
Provides: python3-daiquiri-doc Provides: python3-daiquiri-doc
%description help %description help
The daiquiri library provides an easy way to configure logging. The daiquiri library provides an easy way to configure logging.
It also provides some custom formatters and handlers. It also provides some custom formatters and handlers.
@ -51,7 +42,6 @@ It also provides some custom formatters and handlers.
%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
@ -78,9 +68,6 @@ popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%check
%{__python3} setup.py test
%files -n python3-daiquiri -f filelist.lst %files -n python3-daiquiri -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
@ -88,6 +75,9 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Aug 01 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.2.1-1
- Update to 3.2.1
* Fri Jul 01 2022 OpenStack_SIG <openstack@openeuler.org> - 3.0.1-1 * Fri Jul 01 2022 OpenStack_SIG <openstack@openeuler.org> - 3.0.1-1
- Upgrade package python3-daiquiri to version 3.0.1 - Upgrade package python3-daiquiri to version 3.0.1