forked from pool/python-termstyle
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user