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
This commit is contained in:
Todd R 2017-05-01 19:10:46 +00:00 committed by Git OBS Bridge
parent c3fb7f790a
commit 984536dbfb
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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