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

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

OBS-URL: https://build.opensuse.org/request/show/493123
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=3
This commit is contained in:
Todd R 2017-05-06 04:27:27 +00:00 committed by Git OBS Bridge
parent f7b7b4d550
commit 67f19c64e4
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat May 6 03:31:54 UTC 2017 - toddrme2178@gmail.com
- Don't provide python2-pep8, singlespec packages should use
correct name.
-------------------------------------------------------------------
Fri Mar 24 14:40:39 UTC 2017 - jmatejek@suse.com

View File

@ -32,12 +32,14 @@ BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Provides: python-pep8 = %{version}
Obsoletes: python-pep8 < %{version}
%ifpython2
Provides: %{oldpython}-pep8 = %{version}
Obsoletes: %{oldpython}-pep8 < %{version}
%endif
%ifpython3
Provides: python3-pep8 = %{version}
Obsoletes: python3-pep8 < %{version}
%endif
%python_subpackages