From 9753d3cc8e3918f976f8cec2c765bdb92640e9ee02626895ac33a83bb98c83c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 6 Aug 2021 07:37:43 +0000 Subject: [PATCH] - Babel is not required OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Jinja2?expand=0&rev=92 --- python-Jinja2.changes | 5 +++++ python-Jinja2.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-Jinja2.changes b/python-Jinja2.changes index 9a28258..620af95 100644 --- a/python-Jinja2.changes +++ b/python-Jinja2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 6 07:34:44 UTC 2021 - Markéta Machová + +- Babel is not required + ------------------------------------------------------------------- Fri Jul 9 11:03:56 UTC 2021 - Ben Greiner diff --git a/python-Jinja2.spec b/python-Jinja2.spec index 8375806..2512bed 100644 --- a/python-Jinja2.spec +++ b/python-Jinja2.spec @@ -16,13 +16,13 @@ # +%{?!python_module:%define python_module() python3-%{**}} +%define skip_python2 1 %ifarch %{ix86} armv7l %bcond_with test %else %bcond_without test %endif -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 Name: python-Jinja2 Version: 3.0.1 Release: 0 @@ -36,8 +36,8 @@ BuildRequires: %{python_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Babel >= 0.8 Requires: python-MarkupSafe >= 0.23 +Recommends: python-Babel >= 0.8 # Do not declare buildarch as the tests are arch specific #BuildArch: noarch Provides: python-jinja2 = %{version}-%{release}