From 51a1a0e03fe158bb82c79fd5d9799cd0bbf29cbf1bd817faa8051e763ac8eb9b Mon Sep 17 00:00:00 2001 From: Todd R Date: Fri, 5 May 2017 21:35:10 +0000 Subject: [PATCH] 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 --- python-pyOpenSSL.changes | 5 +++++ python-pyOpenSSL.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-pyOpenSSL.changes b/python-pyOpenSSL.changes index 3bf9c1f..f9fb1e0 100644 --- a/python-pyOpenSSL.changes +++ b/python-pyOpenSSL.changes @@ -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 diff --git a/python-pyOpenSSL.spec b/python-pyOpenSSL.spec index 2b12f91..9a842fa 100644 --- a/python-pyOpenSSL.spec +++ b/python-pyOpenSSL.spec @@ -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