From 576c41f6cc4818349c33b4f560f9a6ec8f6c1606 Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Mon, 22 Nov 2021 20:31:56 +0800 Subject: [PATCH] Fixes python3.7dist version Adds python3-toml as BuildRequires to fix python3.7dist version from 0 to 0.16.1. (cherry picked from commit 7c9440ade466d79e02f82d2d4cec5faa54d52526) --- python-pint.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-pint.spec b/python-pint.spec index 6b58b49..8700e8d 100644 --- a/python-pint.spec +++ b/python-pint.spec @@ -1,14 +1,15 @@ %global _empty_manifest_terminate_build 0 Name: python-pint Version: 0.16.1 -Release: 2 +Release: 3 Summary: Physical quantities module License: BSD URL: https://github.com/hgrecco/pint Source0: https://files.pythonhosted.org/packages/2b/d4/18becb51e9e242640010362b38dde187ecc0d5caeb0a689a2a60083b1ca3/Pint-0.16.1.tar.gz BuildArch: noarch -BuildRequires: python3-setuptools_scm +BuildRequires: python3-setuptools_scm +BuildRequires: python3-toml Requires: python3-packaging Requires: python3-importlib-resources Requires: python3-importlib-metadata @@ -108,6 +109,9 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog +* Mon Nov 22 2021 huangtianhua - 0.16.1-3 +- Fixes the wrong version python3.7dist(pint)=0 + * Fri Nov 11 2021 wangxiyuan - Fix build error