From b94038beeeee3d145c3604e631026b9c57b178132fa09f3b183faeca186e9002 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 15 Apr 2015 10:12:02 +0000 Subject: [PATCH] Accepting request 296793 from home:Nijel:branches:devel:languages:python - Add Obsoletes/Provides to handle upgrade path for python-gammu OBS-URL: https://build.opensuse.org/request/show/296793 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gammu?expand=0&rev=3 --- python-python-gammu.changes | 5 +++++ python-python-gammu.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/python-python-gammu.changes b/python-python-gammu.changes index ccde4dc..7379ada 100644 --- a/python-python-gammu.changes +++ b/python-python-gammu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 15 10:11:11 UTC 2015 - mcihar@suse.cz + +- Add Obsoletes/Provides to handle upgrade path for python-gammu + ------------------------------------------------------------------- Wed Apr 15 07:36:48 UTC 2015 - mcihar@suse.cz diff --git a/python-python-gammu.spec b/python-python-gammu.spec index b19c873..66399e0 100644 --- a/python-python-gammu.spec +++ b/python-python-gammu.spec @@ -29,6 +29,8 @@ BuildRequires: libdbi-drivers-dbd-sqlite3 BuildRequires: pkg-config BuildRequires: python-devel BuildRequires: python-setuptools +Obsoletes: python-gammu < %version +Provides: python-gammu = %version BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}