Add Provides to retain compatibility

This commit is contained in:
Debarshi Ray 2017-04-27 18:07:20 +02:00
parent 861bcc31f5
commit 6a0c2121d9

View File

@ -1,6 +1,6 @@
Name: libgexiv2
Version: 0.10.5
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
License: GPLv2+
@ -35,6 +35,7 @@ Summary: Python2 bindings for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python-gobject-base%{?_isa}
# For upgrade path from F24
Provides: libgexiv2-python2 = %{name}-%{version}
Obsoletes: libgexiv2-python2 < 0.10.4
%description -n python2-gexiv2
@ -46,6 +47,7 @@ Summary: Python3 bindings for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python3-gobject-base%{?_isa}
# For upgrade path from F24
Provides: libgexiv2-python3 = %{name}-%{version}
Obsoletes: libgexiv2-python3 < 0.10.4
%description -n python3-gexiv2
@ -97,6 +99,9 @@ make check
%endif
%changelog
* Thu Apr 27 2017 Debarshi Ray <rishi@fedoraproject.org> - 0.10.5-2
- Add Provides to retain compatibility
* Tue Mar 21 2017 Kalev Lember <klember@redhat.com> - 0.10.5-1
- Update to 0.10.5
- Build API documentation