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

Fix Provides/Obsoletes.

OBS-URL: https://build.opensuse.org/request/show/493084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=39
This commit is contained in:
Todd R 2017-05-05 21:35:10 +00:00 committed by Git OBS Bridge
parent ab568b93fd
commit 51a1a0e03f
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 5 21:32:55 UTC 2017 - toddrme2178@gmail.com
- Fix Provides/Obsoletes.
-------------------------------------------------------------------
Wed Apr 26 14:20:27 UTC 2017 - toddrme2178@gmail.com

View File

@ -19,6 +19,7 @@
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-pyOpenSSL
Version: 17.0.0
Release: 0
@ -43,8 +44,10 @@ BuildRequires: %{python_module pytest}
%endif
Requires: python-cryptography >= 1.3.4
Provides: pyOpenSSL = %{version}
Provides: python-openssl = %{version}
Obsoletes: python-openssl < %{version}
%ifpython2
Obsoletes: %{oldpython}-openssl < %{version}
Provides: %{oldpython}-openssl = %{version}
%endif
BuildArch: noarch
%python_subpackages