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)")}