From debe00a4d6b0fbdcc65b5f3b655c376312b22a4b9dbb811d5e8f3ad8a2c13210 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 30 Sep 2023 13:16:35 +0000 Subject: [PATCH] Accepting request 1114363 from home:mimi_vx:branches:devel:languages:python:numeric - cleanup package requires and buildrequires OBS-URL: https://build.opensuse.org/request/show/1114363 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-csvkit?expand=0&rev=38 --- python-csvkit.changes | 5 +++++ python-csvkit.spec | 15 +++------------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/python-csvkit.changes b/python-csvkit.changes index 254cf14..09ac325 100644 --- a/python-csvkit.changes +++ b/python-csvkit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 29 13:18:54 UTC 2023 - Ondřej Súkup + +- cleanup package requires and buildrequires + ------------------------------------------------------------------- Tue May 30 08:21:00 UTC 2023 - Dirk Müller diff --git a/python-csvkit.spec b/python-csvkit.spec index 29c9816..933f300 100644 --- a/python-csvkit.spec +++ b/python-csvkit.spec @@ -17,8 +17,6 @@ %define binaries csvclean csvcut csvformat csvgrep csvjoin csvjson csvlook csvpy csvsort csvsql csvstack csvstat in2csv sql2csv -%define skip_python2 1 -%define skip_python36 1 Name: python-csvkit Version: 1.1.1 Release: 0 @@ -28,26 +26,19 @@ Group: Development/Languages/Python URL: https://github.com/wireservice/csvkit Source0: https://files.pythonhosted.org/packages/source/c/csvkit/csvkit-%{version}.tar.gz Source1: https://raw.githubusercontent.com/wireservice/csvkit/5f22e664121b13d9ff005a9206873a8f97431dca/examples/testdbf_converted.csv -BuildRequires: %{python_module SQLAlchemy >= 0.9.3 with %python-SQLAlchemy < 2} -BuildRequires: %{python_module Sphinx >= 1.0.7} -BuildRequires: %{python_module aenum} BuildRequires: %{python_module agate >= 1.6.1} BuildRequires: %{python_module agate-dbf >= 0.2.0} BuildRequires: %{python_module agate-excel >= 0.2.2} BuildRequires: %{python_module agate-sql >= 0.5.3} -BuildRequires: %{python_module dbf >= 0.9.3} -BuildRequires: %{python_module et_xmlfile} -BuildRequires: %{python_module jdcal} -BuildRequires: %{python_module openpyxl >= 2.2.0.b1} -BuildRequires: %{python_module python-dateutil >= 2.2} +BuildRequires: %{python_module importlib-metadata if %python-base < 3.10} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module xlrd >= 0.9.2} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-agate Requires: python-agate-dbf Requires: python-agate-excel Requires: python-agate-sql +Requires: (python-importlib-metadata if python-base < 3.10) Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch @@ -79,7 +70,7 @@ done %check export LANG=en_US.UTF-8 -%python_exec -m unittest discover -s tests/ -v +%pyunittest discover -s tests/ -v %post %{lua:for b in rpm.expand("%{binaries}"):gmatch("%S+") do