14
0
forked from pool/python-pysmbc

- Remove python2 guard so we always Provide/Obsolete the old name.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysmbc?expand=0&rev=15
This commit is contained in:
2021-11-23 06:59:54 +00:00
committed by Git OBS Bridge
parent 5843122bcf
commit 25a8e06416
2 changed files with 5 additions and 2 deletions

View File

@@ -37,10 +37,8 @@ BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module pytest}
%endif
%ifpython2
Obsoletes: %{oldpython}-smbc < %{version}
Provides: %{oldpython}-smbc = %{version}
%endif
Obsoletes: python-smbc < %{version}-%{release}
Provides: python-smbc = %{version}-%{release}
%python_subpackages