Accepting request 900815 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/900815 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ordered-set?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 17 17:22:40 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Add Provides: for python*dist(ordered-set): work around
|
||||
boo#1186870
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 23 14:43:30 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ordered-set
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2019 Neal Gompa <ngompa13@gmail.com>.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,6 +17,8 @@
|
||||
#
|
||||
|
||||
|
||||
# in order to avoid rewriting for subpackage generator
|
||||
%define mypython python
|
||||
%global modname ordered-set
|
||||
%global dir_name ordered_set
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
@@ -44,6 +46,11 @@ BuildArch: noarch
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%endif
|
||||
# work around boo#1186870
|
||||
Provides: %{mypython}%{python_version}dist(%modname) = %{version}
|
||||
%if "%{python_flavor}" == "python3" || "%{python_provides}" == "python3"
|
||||
Provides: %{mypython}3dist(%modname) = %{version}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user