diff --git a/libgexiv2.spec b/libgexiv2.spec index b6b3061..7c849d2 100644 --- a/libgexiv2.spec +++ b/libgexiv2.spec @@ -1,6 +1,6 @@ Name: libgexiv2 Version: 0.11.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library License: GPLv2+ @@ -12,13 +12,9 @@ BuildRequires: gcc-c++ BuildRequires: gtk-doc BuildRequires: gobject-introspection-devel BuildRequires: meson -BuildRequires: python2-devel -BuildRequires: python2-gobject-base BuildRequires: vala -%if 0%{?fedora} || 0%{?rhel} > 7 BuildRequires: python3-devel BuildRequires: python3-gobject-base -%endif %description libgexiv2 is a GObject-based wrapper around the Exiv2 library. @@ -32,29 +28,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. -%package -n python2-gexiv2 -Summary: Python2 bindings for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: python2-gobject-base%{?_isa} -# For upgrade path from F24 -Provides: libgexiv2-python2 = %{name}-%{version} -Obsoletes: libgexiv2-python2 < 0.10.4 - -%description -n python2-gexiv2 -This package contains the python2 bindings for %{name} - -%if 0%{?fedora} || 0%{?rhel} > 7 %package -n python3-gexiv2 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 This package contains the python3 bindings for %{name} -%endif %prep %setup -q -n gexiv2-%{version} @@ -92,16 +72,15 @@ This package contains the python3 bindings for %{name} %{_datadir}/vala/vapi/gexiv2.deps %{_datadir}/vala/vapi/gexiv2.vapi -%files -n python2-gexiv2 -%{python2_sitearch}/gi/overrides/GExiv2.py* - -%if 0%{?fedora} || 0%{?rhel} > 7 %files -n python3-gexiv2 %{python3_sitearch}/gi/overrides/GExiv2.py %{python3_sitearch}/gi/overrides/__pycache__/GExiv2* -%endif %changelog +* Tue Jan 15 2019 Miro HronĨok - 0.11.0-2 +- Subpackage python2-gexiv2 has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + * Tue Jan 08 2019 Kalev Lember - 0.11.0-1 - Update to 0.11.0