From a97c2f98fa356be5d1c4af3502060f8d1adce218fae4bb302fbf39278785fe91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 20 Jul 2018 11:53:09 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-textfsm?expand=0&rev=5 --- python-textfsm.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-textfsm.spec b/python-textfsm.spec index b75ae63..6ef46cb 100644 --- a/python-textfsm.spec +++ b/python-textfsm.spec @@ -16,6 +16,7 @@ # +%define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-textfsm Version: 0.4.1 @@ -32,9 +33,11 @@ BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six -Conflicts: python2-texttable -Conflicts: python3-texttable +Conflicts: python-texttable BuildArch: noarch +%ifpython2 +Conflicts: %{oldpython}-texttable +%endif %python_subpackages %description