From 925df39000c6e04c15f9a3fc5a9b5f070ec1e4f2 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 be3a13c..6dcc796 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 ef60621..6bebeb3 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