- remove paths only relevant for obsolete python versions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-backports.entry_points_selectable?expand=0&rev=9
This commit is contained in:
Dirk Mueller 2023-06-22 15:14:40 +00:00 committed by Git OBS Bridge
parent 99bf8e168c
commit 24ccbb8945
2 changed files with 5 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 22 15:14:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
- remove paths only relevant for obsolete python versions
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 8 11:07:05 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com> Mon May 8 11:07:05 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -16,7 +16,6 @@
# #
%bcond_without python2
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-backports.entry_points_selectable Name: python-backports.entry_points_selectable
Version: 1.2.0 Version: 1.2.0
@ -25,21 +24,14 @@ Summary: Compatibility shim providing selectable entry points for older i
License: MIT License: MIT
URL: https://github.com/jaraco/backports.entry_points_selectable URL: https://github.com/jaraco/backports.entry_points_selectable
Source: https://files.pythonhosted.org/packages/source/b/backports.entry_points_selectable/backports.entry_points_selectable-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/b/backports.entry_points_selectable/backports.entry_points_selectable-%{version}.tar.gz
BuildRequires: %{python_module importlib-metadata if %python-base < 3.7}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 4.6} BuildRequires: %{python_module pytest >= 4.6}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module toml} BuildRequires: %{python_module toml}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
%if %{with python2}
BuildRequires: python-backports
%endif
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%ifpython2
Requires: python-backports
%endif
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -72,10 +64,6 @@ fi
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%license LICENSE %license LICENSE
%dir %{python_sitelib}/backports %dir %{python_sitelib}/backports
%ifpython2
# provided by python2-backports
%exclude %{python_sitelib}/backports/__init__.py*
%endif
%{python_sitelib}/backports/entry_points_selectable.py* %{python_sitelib}/backports/entry_points_selectable.py*
%pycache_only %dir %{python_sitelib}/backports/__pycache__ %pycache_only %dir %{python_sitelib}/backports/__pycache__
%pycache_only %{python_sitelib}/backports/__pycache__/* %pycache_only %{python_sitelib}/backports/__pycache__/*