15
0
forked from pool/python-bcrypt

Accepting request 493115 from home:TheBlackCat:branches:devel:languages:python

Don't provide python2-py-bcrypt, singlespec packages should use correct name.

OBS-URL: https://build.opensuse.org/request/show/493115
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bcrypt?expand=0&rev=9
This commit is contained in:
Todd R
2017-05-06 04:25:06 +00:00
committed by Git OBS Bridge
parent 08372532b3
commit dfe15378b7
2 changed files with 10 additions and 2 deletions

View File

@@ -42,12 +42,14 @@ BuildRequires: %{python_module pytest}
Requires: python-six
%requires_eq python-cffi
# This is intended as a drop-in replacement for py-bcrypt
Provides: python-py-bcrypt = %{version}
Obsoletes: python-py-bcrypt < %{version}
%ifpython2
Provides: %{oldpython}-py-bcrypt = %{version}
Obsoletes: %{oldpython}-py-bcrypt < %{version}
%endif
%ifpython3
Provides: python3-py-bcrypt = %{version}
Obsoletes: python3-py-bcrypt < %{version}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%python_subpackages