From 67f19c64e461083e3e98192ce4210412341b585b0c751b7a33242e22ab01dea6 Mon Sep 17 00:00:00 2001 From: Todd R Date: Sat, 6 May 2017 04:27:27 +0000 Subject: [PATCH] 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 --- python-pycodestyle.changes | 6 ++++++ python-pycodestyle.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-pycodestyle.changes b/python-pycodestyle.changes index 00b58dc..bb5555e 100644 --- a/python-pycodestyle.changes +++ b/python-pycodestyle.changes @@ -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 diff --git a/python-pycodestyle.spec b/python-pycodestyle.spec index a51a08a..5ad44fc 100644 --- a/python-pycodestyle.spec +++ b/python-pycodestyle.spec @@ -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