From cdee2ae190e150dd3e6ffc185ac31f034b910038e48b2459825e639d8970351c Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 1 May 2017 19:00:13 +0000 Subject: [PATCH] Accepting request 492342 from home:TheBlackCat:branches:devel:languages:python Add literal python-sqlalchemy provides. OBS-URL: https://build.opensuse.org/request/show/492342 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=86 --- python-SQLAlchemy.changes | 5 +++++ python-SQLAlchemy.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/python-SQLAlchemy.changes b/python-SQLAlchemy.changes index f4fe745..af283e8 100644 --- a/python-SQLAlchemy.changes +++ b/python-SQLAlchemy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 1 18:49:28 UTC 2017 - toddrme2178@gmail.com + +- Add literal python-sqlalchemy provides. + ------------------------------------------------------------------- Tue Apr 18 16:07:16 UTC 2017 - toddrme2178@gmail.com diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index b8ca00c..0496d45 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -19,6 +19,7 @@ %bcond_without tests %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-SQLAlchemy Version: 1.1.9 Release: 0 @@ -39,6 +40,10 @@ BuildRequires: python-mock #BuildRequires: python-pysqlite Provides: python-sqlalchemy = %{version} Obsoletes: python-sqlalchemy < %{version} +%ifpython2 +Obsoletes: %{oldpython}-sqlalchemy < %{version} +Provides: %{oldpython}-sqlalchemy = %{version} +%endif %python_subpackages %description