From f489a201ae74c471f1286d020098fcdc9a263ee57b872703d25b27ae6d19e2ca Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 31 May 2018 10:41:30 +0000 Subject: [PATCH] We want to conflict even package called literally python-bugzillatools (without any expansions) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bugzillatools?expand=0&rev=9 --- python-bugzillatools.changes | 6 ++++++ python-bugzillatools.spec | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/python-bugzillatools.changes b/python-bugzillatools.changes index 09496c9..5a0c739 100644 --- a/python-bugzillatools.changes +++ b/python-bugzillatools.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 31 10:40:54 UTC 2018 - mcepl@suse.com + +- We want to conflict even package called literally python-bugzillatools + (without any expansions) + ------------------------------------------------------------------- Fri May 25 14:09:50 UTC 2018 - mcepl@suse.com diff --git a/python-bugzillatools.spec b/python-bugzillatools.spec index 0ae5570..f972385 100644 --- a/python-bugzillatools.spec +++ b/python-bugzillatools.spec @@ -16,6 +16,8 @@ # +%define oldpython python + %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-bugzillatools Version: 0.5.5 @@ -36,6 +38,9 @@ BuildRequires: python-rpm-macros #Recommends: bzr # File conflict for /usr/bin/bugzilla: Conflicts: python-bugzilla +# We want to conflict even package literally called python-bugzilla +# without the python version number +Conflicts: %{oldpython}-bugzilla BuildArch: noarch %python_subpackages