Accepting request 548543 from home:dimstar:branches:GNOME:Factory

Important fix post glib2 change (parallel stagings did not catch it)

OBS-URL: https://build.opensuse.org/request/show/548543
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup?expand=0&rev=199
This commit is contained in:
Dominique Leuenberger 2017-12-05 08:16:38 +00:00 committed by Git OBS Bridge
parent 402d2df758
commit 42832a19f3
3 changed files with 40 additions and 2 deletions

View File

@ -0,0 +1,27 @@
From 4b924e573da307436169d5ef7e04c0ab85b36ef9 Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Wed, 2 Aug 2017 15:17:21 +0100
Subject: tld-parser: use Python 3
The world is moving to Python 3 so do our bit by using Python 3 to run the TLD
parser.
https://bugzilla.gnome.org/show_bug.cgi?id=785735
---
libsoup/tld-parser.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libsoup/tld-parser.py b/libsoup/tld-parser.py
index 5d9d2ba..a743471 100755
--- a/libsoup/tld-parser.py
+++ b/libsoup/tld-parser.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Generate tld rules
# Copyright (C) 2012 Red Hat, Inc.
--
cgit v0.12

View File

@ -1,12 +1,19 @@
-------------------------------------------------------------------
Tue Dec 5 07:56:18 UTC 2017 - dimstar@opensuse.org
- Use python3 during build:
+ Add libsoup-tld-parser-py3.patch: Use python3 for tld-parser.
+ Add python3-base BuildRequires.
-------------------------------------------------------------------
Fri Oct 27 23:42:49 UTC 2017 - luc14n0@linuxmail.org
- Update to version 2.60.2:
+ Fix documentation typos (bgo#788920).
+ format-zero-length warning triggered in soup-logger.c
(bgo#789096).
(bgo#789096).
+ Warnings while generating inrospection files
(bgo#789099).
(bgo#789099).
+ Updated translations.
- Add conditional use for translation-update-upstream: suse-only
requirement.

View File

@ -25,8 +25,11 @@ Release: 0
Url: https://wiki.gnome.org/Projects/libsoup
Source: https://download.gnome.org/sources/libsoup/2.60/%{name}-%{version}.tar.xz
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM libsoup-tld-parser-py3.patch bgo#785735 dimstar@opensuse.org -- Use python3 for tld-parser
Patch0: libsoup-tld-parser-py3.patch
BuildRequires: glib-networking
BuildRequires: intltool >= 0.35.0
BuildRequires: python3-base
BuildRequires: pkgconfig(gio-2.0) >= 2.38.0
BuildRequires: pkgconfig(gobject-2.0) >= 2.38.0
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5
@ -121,6 +124,7 @@ Features:
%lang_package
%prep
%setup -q
%patch0 -p1
%if !0%{?is_opensuse}
translation-update-upstream
%endif