From 43d46acfc93fd00144756f029ef53648b308a6cdf1b536c5e34a5caabf4940c8 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 5 Dec 2022 17:23:26 +0000 Subject: [PATCH] Clean up SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sqlite3-to-mysql?expand=0&rev=7 --- python-sqlite3-to-mysql.spec | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/python-sqlite3-to-mysql.spec b/python-sqlite3-to-mysql.spec index fa5f72f..7c23732 100644 --- a/python-sqlite3-to-mysql.spec +++ b/python-sqlite3-to-mysql.spec @@ -26,15 +26,25 @@ URL: https://github.com/techouse/sqlite3-to-mysql Source: https://files.pythonhosted.org/packages/source/s/sqlite3-to-mysql/sqlite3-to-mysql-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: docker +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python3-SQLAlchemy BuildRequires: python3-SQLAlchemy-Utils BuildRequires: python3-docker BuildRequires: python3-factory_boy BuildRequires: python3-pytest-timeout +Requires: python-click >= 7.0 +Requires: python-mysql-connector-python >= 8.0.18 +Requires: python-packaging >= 20.3 +Requires: python-pytimeparse >= 1.1.8 +Requires: python-simplejson >= 3.16.0 +Requires: python-six >= 1.12.0 +Requires: python-tabulate +Requires: python-tqdm >= 4.35.0 +BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module click >= 7.0} BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module click >= 7.0} BuildRequires: %{python_module coverage} BuildRequires: %{python_module ddt} BuildRequires: %{python_module flake8} @@ -48,16 +58,6 @@ BuildRequires: %{python_module sphinxcontrib-programoutput} BuildRequires: %{python_module tabulate} BuildRequires: %{python_module tqdm >= 4.35.0} # /SECTION -BuildRequires: fdupes -Requires: python-click >= 7.0 -Requires: python-mysql-connector-python >= 8.0.18 -Requires: python-packaging >= 20.3 -Requires: python-pytimeparse >= 1.1.8 -Requires: python-simplejson >= 3.16.0 -Requires: python-six >= 1.12.0 -Requires: python-tabulate -Requires: python-tqdm >= 4.35.0 -BuildArch: noarch %python_subpackages %description @@ -84,6 +84,7 @@ A Python tool to transfer data from SQLite 3 to MySQL %doc README.md %license LICENSE %python_alternative %{_bindir}/sqlite3mysql -%{python_sitelib}/* +%{python_sitelib}/sqlite3_to_mysql-%{version}*-info +%{python_sitelib}/sqlite3_to_mysql %changelog