From 47be35da99986f1671d1d58c813206da380e0961ddde1637ca60d0c196521b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 19 Dec 2019 09:19:58 +0000 Subject: [PATCH] Accepting request 758098 from home:dimstar:Factory - Drop appstream-glib BuildRequires and no longer call appstream-util validate-relax: eliminate a build cycle between as-glib and python. The only thing would would gain by calling as-uril is catching if upstream breaks the appdata.xml file in a future release. Considering py2 is dying, chances for a new release, let alone one breaking the xml file, are slim. - Drop appstream-glib BuildRequires and no longer call appstream-util validate-relax: eliminate a build cycle between as-glib and python. The only thing would would gain by calling as-uril is catching if upstream breaks the appdata.xml file in a future release. Considering py2 is dying, chances for a new release, let alone one breaking the xml file, are slim. - Drop appstream-glib BuildRequires and no longer call appstream-util validate-relax: eliminate a build cycle between as-glib and python. The only thing would would gain by calling as-uril is catching if upstream breaks the appdata.xml file in a future release. Considering py2 is dying, chances for a new release, let alone one breaking the xml file, are slim. OBS-URL: https://build.opensuse.org/request/show/758098 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=264 --- python-base.changes | 10 ++++++++++ python-doc.changes | 10 ++++++++++ python.changes | 10 ++++++++++ python.spec | 8 ++------ 4 files changed, 32 insertions(+), 6 deletions(-) diff --git a/python-base.changes b/python-base.changes index 61d80e8..ad4d6c5 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger + +- Drop appstream-glib BuildRequires and no longer call + appstream-util validate-relax: eliminate a build cycle between + as-glib and python. The only thing would would gain by calling + as-uril is catching if upstream breaks the appdata.xml file in a + future release. Considering py2 is dying, chances for a new + release, let alone one breaking the xml file, are slim. + ------------------------------------------------------------------- Wed Dec 11 14:35:46 CET 2019 - Matej Cepl diff --git a/python-doc.changes b/python-doc.changes index 61d80e8..ad4d6c5 100644 --- a/python-doc.changes +++ b/python-doc.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger + +- Drop appstream-glib BuildRequires and no longer call + appstream-util validate-relax: eliminate a build cycle between + as-glib and python. The only thing would would gain by calling + as-uril is catching if upstream breaks the appdata.xml file in a + future release. Considering py2 is dying, chances for a new + release, let alone one breaking the xml file, are slim. + ------------------------------------------------------------------- Wed Dec 11 14:35:46 CET 2019 - Matej Cepl diff --git a/python.changes b/python.changes index 61d80e8..ad4d6c5 100644 --- a/python.changes +++ b/python.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger + +- Drop appstream-glib BuildRequires and no longer call + appstream-util validate-relax: eliminate a build cycle between + as-glib and python. The only thing would would gain by calling + as-uril is catching if upstream breaks the appdata.xml file in a + future release. Considering py2 is dying, chances for a new + release, let alone one breaking the xml file, are slim. + ------------------------------------------------------------------- Wed Dec 11 14:35:46 CET 2019 - Matej Cepl diff --git a/python.spec b/python.spec index 41dcdf6..9c894c8 100644 --- a/python.spec +++ b/python.spec @@ -107,19 +107,16 @@ BuildRequires: filesystem BuildRequires: update-desktop-files # for %%{_datadir}/icons/hicolor directories BuildRequires: hicolor-icon-theme -%if 0%{?suse_version} >= 1500 -BuildRequires: appstream-glib -%endif %define python_version %(echo %{tarversion} | head -c 3) %define idle_name idle Requires: python-base = %{version} %if %{suse_version} == 1315 && !0%{?is_opensuse} Recommends: python-strict-tls-check %endif -# To make older versions of this package to conflict with -# shared-python-startup I need a symbol to conflict with Provides: %{name} = %{python_version} Provides: python2 = %{version} +# To make older versions of this package to conflict with +# shared-python-startup I need a symbol to conflict with Provides: python2_split_startup Obsoletes: python-elementtree Obsoletes: python-nothreads @@ -445,7 +442,6 @@ install -d -m755 %{buildroot}%{_sysconfdir}/%{idle_name} # Install .desktop, mime and appdata files from upstream tarball %if 0%{?suse_version} >= 1500 install -Dm0644 %{SOURCE50} %{buildroot}/%{_datadir}/mime/packages/idle.appdata.xml -appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/mime/packages/idle.appdata.xml %endif install -D -m 0644 Lib/idlelib/Icons/idle_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/idle.png install -D -m 0644 Lib/idlelib/Icons/idle_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/idle.png