From 984536dbfb99bdacbd0f398df0e701dfd6a5d08a46e404170c3bd09554cadc03 Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 1 May 2017 19:10:46 +0000 Subject: [PATCH] Accepting request 492346 from home:TheBlackCat:branches:devel:languages:python Add literal python-xdg provides OBS-URL: https://build.opensuse.org/request/show/492346 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyxdg?expand=0&rev=6 --- python-pyxdg.changes | 5 +++++ python-pyxdg.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/python-pyxdg.changes b/python-pyxdg.changes index a8e5ae8..ee893fe 100644 --- a/python-pyxdg.changes +++ b/python-pyxdg.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 1 18:49:28 UTC 2017 - toddrme2178@gmail.com + +- Add literal python-xdg provides. + ------------------------------------------------------------------- Mon Apr 24 17:35:04 UTC 2017 - toddrme2178@gmail.com diff --git a/python-pyxdg.spec b/python-pyxdg.spec index f0cd66c..8662261 100644 --- a/python-pyxdg.spec +++ b/python-pyxdg.spec @@ -23,6 +23,7 @@ %endif %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python Name: python-pyxdg Version: 0.25 Release: 0 @@ -43,8 +44,13 @@ BuildRequires: shared-mime-info Requires: shared-mime-info BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +# Change <= to < after version 0.25 Provides: python-xdg = %{version} Obsoletes: python-xdg <= %{version} +%ifpython2 +Obsoletes: %{oldpython}-xdg < %{version} +Provides: %{oldpython}-xdg <= %{version} +%endif %python_subpackages %description