From 908e8c3ab47542b55e1a539aa0e250f0e5a0331db068d299958d9a64a09b9529 Mon Sep 17 00:00:00 2001 From: Marco Strigl Date: Tue, 21 May 2019 09:13:00 +0000 Subject: [PATCH] - Spec: * 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 --- osc.changes | 8 ++++++++ osc.spec | 3 +++ 2 files changed, 11 insertions(+) diff --git a/osc.changes b/osc.changes index 275db50..69ad58b 100644 --- a/osc.changes +++ b/osc.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue May 21 09:10:33 UTC 2019 - Marco Strigl + +- 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 diff --git a/osc.spec b/osc.spec index 648a695..4f4d4f3 100644 --- a/osc.spec +++ b/osc.spec @@ -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