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
This commit is contained in:
Tomáš Chvátal 2019-12-19 09:19:58 +00:00 committed by Git OBS Bridge
parent 729767d23c
commit 47be35da99
4 changed files with 32 additions and 6 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <mcepl@suse.com>

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <mcepl@suse.com>

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Dec 19 08:47:01 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <mcepl@suse.com>

View File

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