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.
This commit is contained in:
Tomas Orsava 2017-08-01 10:46:01 +02:00
parent f77700c102
commit de728c7f36
1 changed files with 8 additions and 2 deletions

View File

@ -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