15
0

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

- Fix Provides/Obsoletes.

OBS-URL: https://build.opensuse.org/request/show/493128
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-termstyle?expand=0&rev=7
This commit is contained in:
Todd R
2017-05-06 04:26:12 +00:00
committed by Git OBS Bridge
parent cbe3bc0f12
commit 71fcdf0cef
2 changed files with 14 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com
- Fix Provides/Obsoletes.
-------------------------------------------------------------------
Wed Apr 12 16:55:35 UTC 2017 - toddrme2178@gmail.com

View File

@@ -18,6 +18,7 @@
%bcond_without tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define oldpython python
Name: python-termstyle
Version: 0.1.11
Release: 0
@@ -30,8 +31,14 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
Provides: python-python-termstyle = %{version}
Obsoletes: python-python-termstyle < %{version}
%ifpython2
Obsoletes: %{oldpython}-python-termstyle < %{version}
Provides: %{oldpython}-python-termstyle = %{version}
%endif
%ifpython3
Provides: python3-python-termstyle = %{version}
Obsoletes: python3-python-termstyle < %{version}
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages