From 8fa7c161097d3449fe3afd4dee2e52887a1542cce67fe0abe1ccf6826b86ef1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 21 May 2019 09:17:39 +0000 Subject: [PATCH] - Do not provide Cheetah3 namespace on python2, if someone wants Cheetah3 binary they need the python3 variant anyway OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=16 --- python-Cheetah3.changes | 6 ++++++ python-Cheetah3.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/python-Cheetah3.changes b/python-Cheetah3.changes index d8fc211..3ef14c3 100644 --- a/python-Cheetah3.changes +++ b/python-Cheetah3.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 21 09:17:11 UTC 2019 - Tomáš Chvátal + +- Do not provide Cheetah3 namespace on python2, if someone wants + Cheetah3 binary they need the python3 variant anyway + ------------------------------------------------------------------- Fri May 3 11:57:28 UTC 2019 - Martin Pluskal diff --git a/python-Cheetah3.spec b/python-Cheetah3.spec index a99425d..2096e25 100644 --- a/python-Cheetah3.spec +++ b/python-Cheetah3.spec @@ -32,7 +32,9 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Conflicts: python-Cheetah +%ifpython3 Provides: Cheetah3 = %{version} +%endif %python_subpackages %description