From b0bdd0662d042476db9365c4532c2b2f7d11b0a6 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Nov 09 2015 11:08:19 +0000 Subject: Add MySQL-python dependency This is to allow other packages that already depend on python-oslo-db to get rid of that dependency. Note that technically speaking oslo.db does not require the package too, because we have plenty of options to deploy OpenStack, using other database backends different from MySQL, or just using other Python drivers for SQLAlchemy. Ideally, this added dependency should be dropped after a while, when all installers install the proper Python driver for the type of setup they deploy. Change-Id: I1d1852c993e6e1a28fbe9e0f693864471213c18e --- diff --git a/python-oslo-db.spec b/python-oslo-db.spec index 28e2370..d528175 100644 --- a/python-oslo-db.spec +++ b/python-oslo-db.spec @@ -3,7 +3,7 @@ Name: python-oslo-db Version: 2.6.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: OpenStack oslo.db library License: ASL 2.0 @@ -15,6 +15,7 @@ BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-pbr +Requires: MySQL-python Requires: python-oslo-config >= 2:2.3.0 Requires: python-oslo-context >= 0.2.0 Requires: python-oslo-i18n >= 1.5.0 @@ -84,6 +85,9 @@ rm -rf html/.{doctrees,buildinfo} %doc html LICENSE %changelog +* Mon Nov 09 2015 Alan Pevec 2.6.0-2 +- Add MySQL-python dependency (Ihar Hrachyshka) + * Thu Sep 17 2015 Alan Pevec 2.6.0-1 - Update to upstream 2.6.0