Fix unresolvable package

The requirement python3-json_logger is wrong,
correct the requirement to python3-json-logger.
This commit is contained in:
huangtianhua 2021-07-29 01:15:23 +00:00
parent db530307ed
commit dce18a0a2c

View File

@ -1,7 +1,7 @@
%global _empty_manifest_terminate_build 0
Name: python-daiquiri
Version: 3.0.0
Release: 1
Release: 2
Summary: Library to configure Python logging easily
License: Apache-2.0
URL: https://github.com/jd/daiquiri
@ -20,13 +20,14 @@ BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-setuptools_scm
# General requires
BuildRequires: python3-json_logger
BuildRequires: python3-json-logger
BuildRequires: python3-systemd
# Tests running requires
BuildRequires: python3-pytest
# General requires
Requires: python3-json_logger
Requires: python3-json-logger
Requires: python3-systemd
# Tests running requires
Requires: python3-pytest
@ -40,7 +41,7 @@ Provides: python3-daiquiri-doc
The daiquiri library provides an easy way to configure logging.
%prep
%autosetup -n daiquiri-3.0.0 -S git
%autosetup -n daiquiri-%{version}
%build
%py3_build
@ -85,5 +86,7 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Thu Jul 29 2021 huangtianhua <huangtianhua@huawei.com> - 3.0.0-2
- Fix json-logger requirement
* Mon Jul 26 2021 OpenStack_SIG <openstack@openeuler.org> - 3.0.0-1
- Package Spec generate