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