From 25e6c963d55cb9093d00692909c27910dd94d5fc Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Sun, 5 Dec 2021 18:42:57 +0100 Subject: [PATCH] Update requirements for Python < 3.10. --- python-markdown.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/python-markdown.spec b/python-markdown.spec index aa8d7e9..c4d141d 100644 --- a/python-markdown.spec +++ b/python-markdown.spec @@ -3,7 +3,7 @@ Name: python-%{pkgname} Version: 3.3.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Markdown implementation in Python License: BSD URL: https://python-markdown.github.io/ @@ -21,9 +21,9 @@ Summary: Markdown implementation in Python BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-PyYAML BuildRequires: python%{python3_pkgversion}-setuptools -%if 0%{?rhel} && 0%{?rhel} < 9 -BuildRequires: python%{python3_pkgversion}-importlib-metadata -Requires: python%{python3_pkgversion}-importlib-metadata +%if ( 0%{?rhel} && 0%{?rhel} < 9 ) || ( 0%{?fedora} && 0%{?fedora} < 35 ) +BuildRequires: python%{python3_pkgversion}-importlib-metadata >= 4.4 +Requires: python%{python3_pkgversion}-importlib-metadata >= 4.4 %endif Conflicts: python2-%{pkgname} < 3.1-2 @@ -65,6 +65,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \ %changelog +* Sun Dec 5 2021 Thomas Moschny - 3.3.6-2 +- Update requirements for Python < 3.10. + * Sat Nov 27 2021 Thomas Moschny - 3.3.6-1 - Update to 3.3.6.