From 00d6c19dc711daaf18446d8eb486af0e5c00e00374dcb14df9da6aecdc603e86 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 16 Dec 2022 08:24:01 +0000 Subject: [PATCH] Accepting request 1043235 from home:bnavigator:branches:devel:languages:python - Fix dependencies - Fix python-sitelib-glob-in-files and 0.0.0 version egg-info by not forgetting setuptools_scm OBS-URL: https://build.opensuse.org/request/show/1043235 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bytecode?expand=0&rev=8 --- python-bytecode.changes | 7 +++++++ python-bytecode.spec | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/python-bytecode.changes b/python-bytecode.changes index 89d02c4..5f24856 100644 --- a/python-bytecode.changes +++ b/python-bytecode.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Dec 15 22:44:00 UTC 2022 - Ben Greiner + +- Fix dependencies +- Fix python-sitelib-glob-in-files and 0.0.0 version egg-info by + not forgetting setuptools_scm + ------------------------------------------------------------------- Fri Dec 9 17:16:11 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-bytecode.spec b/python-bytecode.spec index eb638ae..cca2149 100644 --- a/python-bytecode.spec +++ b/python-bytecode.spec @@ -16,8 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-bytecode Version: 0.14.0 Release: 0 @@ -26,14 +24,15 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/vstinner/bytecode Source: https://files.pythonhosted.org/packages/source/b/bytecode/bytecode-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module typing_extensions} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module typing_extensions if %python-base < 3.10} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-aenum >= 2.0 +Requires: (python-typing-extensions if python-base < 3.10) BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module aenum} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -57,6 +56,7 @@ Python module to generate and modify bytecode %files %{python_files} %doc README.rst %license COPYING -%{python_sitelib}/* +%{python_sitelib}/bytecode +%{python_sitelib}/bytecode-%{version}*-info %changelog