From dce18a0a2c11afadb8e26e24632d235761b8ba8d Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Thu, 29 Jul 2021 01:15:23 +0000 Subject: [PATCH] Fix unresolvable package The requirement python3-json_logger is wrong, correct the requirement to python3-json-logger. --- python-daiquiri.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/python-daiquiri.spec b/python-daiquiri.spec index d6e00d2..e4a11b0 100644 --- a/python-daiquiri.spec +++ b/python-daiquiri.spec @@ -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 - 3.0.0-2 +- Fix json-logger requirement * Mon Jul 26 2021 OpenStack_SIG - 3.0.0-1 - Package Spec generate