diff --git a/python3.spec b/python3.spec index 5c3c5f2..ecab7c4 100644 --- a/python3.spec +++ b/python3.spec @@ -172,7 +172,10 @@ BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: sqlite-devel BuildRequires: desktop-file-utils -BuildRequires: libappstream-glib +# Disabled the dependency on `libappstream-glib` for Python 3 in the Python 3 +# module as it is not packaged in the Platform or any module yet, and has too +# many dependencies to be packaged in the Python 3 module. +# BuildRequires: libappstream-glib BuildRequires: systemtap-sdt-devel BuildRequires: systemtap-devel @@ -917,7 +920,10 @@ desktop-file-install --dir=${RPM_BUILD_ROOT}%{_datadir}/applications %{SOURCE10} # Install and validate appdata file mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/appdata cp -a %{SOURCE11} ${RPM_BUILD_ROOT}%{_datadir}/appdata -appstream-util validate-relax --nonet ${RPM_BUILD_ROOT}%{_datadir}/appdata/idle3.appdata.xml +# Disabled the usa of `appstream-util` for Python 3 in the Python 3 module, +# as `libappstream-glib` is not packaged in the Platform or any module yet, and +# has too many dependencies to be packaged in the Python 3 module. +# appstream-util validate-relax --nonet ${RPM_BUILD_ROOT}%{_datadir}/appdata/idle3.appdata.xml # Development tools install -m755 -d ${RPM_BUILD_ROOT}%{pylibdir}/Tools