Drop the python3 sub-package

Resolves: RHEL-45529
This commit is contained in:
Debarshi Ray 2024-07-09 21:31:46 +02:00
parent 445adb5b99
commit 3743d441ae

View File

@ -1,6 +1,6 @@
Name: libgexiv2
Version: 0.14.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
License: GPL-2.0-or-later
@ -13,8 +13,6 @@ BuildRequires: gtk-doc
BuildRequires: gobject-introspection-devel
BuildRequires: meson
BuildRequires: vala
BuildRequires: python3-devel
BuildRequires: python3-gobject-base
%description
libgexiv2 is a GObject-based wrapper around the Exiv2 library.
@ -28,21 +26,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package -n python3-gexiv2
Summary: Python3 bindings for %{name}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: python3-gobject-base-noarch
%description -n python3-gexiv2
This package contains the python3 bindings for %{name}
%prep
%autosetup -p1 -n gexiv2-%{version}
%build
%meson \
-Dgtk_doc=true \
-Dpython3=false \
-Dtests=true \
%{nil}
%meson_build
@ -74,10 +64,11 @@ This package contains the python3 bindings for %{name}
%{_datadir}/vala/vapi/gexiv2.deps
%{_datadir}/vala/vapi/gexiv2.vapi
%files -n python3-gexiv2
%pycached %{python3_sitelib}/gi/overrides/GExiv2.py
%changelog
* Tue Jul 09 2024 Debarshi Ray <rishi@fedoraproject.org> - 0.14.2-5
- Drop the python3 sub-package
Resolves: RHEL-45529
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.14.2-4
- Bump release for June 2024 mass rebuild