Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-20 10:30:57 +01:00
parent cd1f37402a
commit 2265573ca8

View File

@ -1,6 +1,6 @@
Name: libgexiv2
Version: 0.10.8
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
License: GPLv2+
@ -11,7 +11,7 @@ BuildRequires: exiv2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: libtool
BuildRequires: python2-devel
BuildRequires: python-gobject-base
BuildRequires: python2-gobject-base
BuildRequires: vala
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: python3-devel
@ -33,7 +33,7 @@ developing applications that use %{name}.
%package -n python2-gexiv2
Summary: Python2 bindings for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: python-gobject-base%{?_isa}
Requires: python2-gobject-base%{?_isa}
# For upgrade path from F24
Provides: libgexiv2-python2 = %{name}-%{version}
Obsoletes: libgexiv2-python2 < 0.10.4
@ -98,6 +98,10 @@ make check
%endif
%changelog
* Tue Feb 20 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.10.8-2
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Tue Feb 06 2018 Kalev Lember <klember@redhat.com> - 0.10.8-1
- Update to 0.10.8