1
0
forked from pool/osc
* add Provides: %{use_python}-osc so that other packages
      can require the correct verion (either python2-osc or
      python3-osc)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/osc?expand=0&rev=288
This commit is contained in:
Marco Strigl 2019-05-21 09:13:00 +00:00 committed by Git OBS Bridge
parent 8ae9303e7b
commit 925df39000
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue May 21 09:10:33 UTC 2019 - Marco Strigl <marco.strigl@suse.com>
- Spec:
* add Provides: %{use_python}-osc so that other packages
can require the correct verion (either python2-osc or
python3-osc)
-------------------------------------------------------------------
Mon May 20 06:39:33 UTC 2019 - Marco Strigl <marco.strigl@suse.com>

View File

@ -115,6 +115,9 @@ BuildRequires: m2crypto > 0.19
Requires: m2crypto > 0.19
%endif
%endif
Provides: %{use_python}-osc
%if %{with python3}
%define python_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")
%else