diff options
author | CoprDistGit <infra@openeuler.org> | 2023-04-02 06:32:49 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-04-02 06:32:49 +0000 |
commit | ac372cfc40107fb402c04546aafb7ea1b1d34819 (patch) | |
tree | 9cbc1ed5b93afe2624bdb4500e19683a4c6cd79b | |
parent | 9a0273d342cffdbcc471f01f49bc7e84ca5738d6 (diff) |
automatic import of python-oslo-db
-rw-r--r-- | python-oslo-db.spec | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/python-oslo-db.spec b/python-oslo-db.spec index 8deac19..6b760ef 100644 --- a/python-oslo-db.spec +++ b/python-oslo-db.spec @@ -61,7 +61,11 @@ BuildRequires: python3-oslotest BuildRequires: python3-oslo-context # Required to compile translation files BuildRequires: python3-babel -Requires: python3-sqlalchemy-migrate +%if 0%{?openEuler} +BuildRequires: python3-sqlalchemy-migrate +%else +BuildRequires: python3-migrate >= 0.11.0 +%endif BuildRequires: python3-alembic BuildRequires: python3-psycopg2 BuildRequires: python3-testresources @@ -71,7 +75,11 @@ Requires: python3-PyMySQL %if 0%{?rhosp} == 0 Requires: python3-pynacl %endif +%if 0%{?openEuler} Requires: python3-oslo-config +%else +Requires: python3-oslo-config >= 2:5.2.0 +%endif Requires: python3-oslo-i18n >= 3.15.3 Requires: python3-oslo-utils >= 3.33.0 Requires: python3-sqlalchemy >= 1.2.0 @@ -80,7 +88,11 @@ Requires: python3-stevedore >= 1.20.0 Requires: python3-pbr Requires: python3-debtcollector >= 1.2.0 Requires: python3-alembic >= 0.9.6 +%if 0%{?openEuler} Requires: python3-sqlalchemy-migrate +%else +Requires: python3-migrate >= 0.11.0 +%endif Requires: python-%{pkg_name}-lang = %{version}-%{release} %description -n python3-%{pkg_name} @@ -109,7 +121,11 @@ Requires: python3-oslo-config Requires: python3-fixtures Requires: python3-oslotest Requires: python3-alembic +%if 0%{?openEuler} Requires: python3-sqlalchemy-migrate +%else +Requires: python3-migrate +%endif Requires: python3-psycopg2 Requires: python3-testresources Requires: python3-testscenarios |