forked from pool/libsoup
Accepting request 583594 from GNOME:Next
Scripted push of project GNOME:Next OBS-URL: https://build.opensuse.org/request/show/583594 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsoup?expand=0&rev=203
This commit is contained in:
parent
2003f3b98b
commit
bb1889f27c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1b0dc762f23abe4e0d29b77370e539fd35f31d8e8e0318d6ddccff395be68a22
|
|
||||||
size 1838640
|
|
3
libsoup-2.61.91.tar.xz
Normal file
3
libsoup-2.61.91.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:13314e6b96f4c6fc1c68905514283a867adb36bf471add0b8e64e565dae646d1
|
||||||
|
size 1838092
|
@ -1,27 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
||||||
|
|
@ -1,3 +1,52 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 5 19:07:04 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.61.91:
|
||||||
|
+ Add limit to header length to avoid DOS attacks (bgo#792173).
|
||||||
|
+ Update the public-suffix list.
|
||||||
|
+ Revert "cookie-jar: use base domain to decide if cookie is
|
||||||
|
third party" (bgo#792130).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 16:36:32 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Modernize spec-file by calling spec-cleaner
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 6 03:17:15 UTC 2018 - luc14n0@linuxmail.org
|
||||||
|
|
||||||
|
- Update to version 2.61.90:
|
||||||
|
+ Various improvements to the WebSocket implementation
|
||||||
|
(bgo#792113).
|
||||||
|
+ cookie-jar: use base domain to decide if cookie is third party
|
||||||
|
(bgo#792130).
|
||||||
|
+ Add new API to create a new connection from a SoupSession
|
||||||
|
(bgo#792212).
|
||||||
|
+ soup-headers: accept any 3 digit number as message status code
|
||||||
|
(bgo#792124).
|
||||||
|
- Remove unneeded %clean section: RPM does this kind of work itself
|
||||||
|
already.
|
||||||
|
- Adopt the use of %make_build macro rather than raw make command,
|
||||||
|
following the best practices.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 22 02:00:02 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.61.2:
|
||||||
|
+ Session: don't request Keep-Alive for upgraded connections
|
||||||
|
(bgo#788723).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 22 02:00:01 UTC 2018 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.61.1:
|
||||||
|
+ tld-parser: use Python 3 (bgo#785735).
|
||||||
|
+ Fix heap-buffer-overflow in soup_ntlm_parse_challenge()
|
||||||
|
(bgo#788037).
|
||||||
|
+ Fix possibly uninitialized value in ssl-test.
|
||||||
|
+ SoupCache: fix the timestamp for responses (bgo#791031).
|
||||||
|
- Drop libsoup-tld-parser-py3.patch: fixed upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 19 19:48:16 UTC 2018 - bjorn.lie@gmail.com
|
Fri Jan 19 19:48:16 UTC 2018 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
45
libsoup.spec
45
libsoup.spec
@ -17,18 +17,17 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libsoup
|
Name: libsoup
|
||||||
Summary: HTTP client/server library for GNOME
|
Version: 2.61.91
|
||||||
License: LGPL-2.1+
|
|
||||||
Group: Development/Libraries/GNOME
|
|
||||||
Version: 2.60.3
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://wiki.gnome.org/Projects/libsoup
|
Summary: HTTP client/server library for GNOME
|
||||||
Source: https://download.gnome.org/sources/libsoup/2.60/%{name}-%{version}.tar.xz
|
License: LGPL-2.1-or-later
|
||||||
|
Group: Development/Libraries/GNOME
|
||||||
|
URL: https://wiki.gnome.org/Projects/libsoup
|
||||||
|
Source: http://download.gnome.org/sources/libsoup/2.61/%{name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
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: glib-networking
|
||||||
BuildRequires: intltool >= 0.35.0
|
BuildRequires: intltool >= 0.35.0
|
||||||
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
BuildRequires: pkgconfig(gio-2.0) >= 2.38.0
|
BuildRequires: pkgconfig(gio-2.0) >= 2.38.0
|
||||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.38.0
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.38.0
|
||||||
@ -43,7 +42,6 @@ BuildRequires: translation-update-upstream
|
|||||||
%endif
|
%endif
|
||||||
# We do not need these dependencies needed only for tests.
|
# We do not need these dependencies needed only for tests.
|
||||||
#BuildRequires: apache2-mod_php5 php5-xmlrpc
|
#BuildRequires: apache2-mod_php5 php5-xmlrpc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
||||||
@ -68,10 +66,6 @@ Suggests: samba-winbind
|
|||||||
# Needed for smooth upgrades and to make the lang package installable
|
# Needed for smooth upgrades and to make the lang package installable
|
||||||
Provides: %{name} = %{version}
|
Provides: %{name} = %{version}
|
||||||
Obsoletes: %{name} < %{version}
|
Obsoletes: %{name} < %{version}
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: libsoup-64bit
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description 2_4-1
|
%description 2_4-1
|
||||||
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
||||||
@ -103,10 +97,6 @@ Requires: %{name} = %{version}
|
|||||||
Requires: typelib-1_0-Soup-2_4 = %{version}
|
Requires: typelib-1_0-Soup-2_4 = %{version}
|
||||||
Provides: %{name}-doc = %{version}
|
Provides: %{name}-doc = %{version}
|
||||||
Obsoletes: %{name}-doc < %{version}
|
Obsoletes: %{name}-doc < %{version}
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: libsoup-devel-64bit
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
Libsoup is an HTTP client/server library for GNOME. It uses GObjects
|
||||||
@ -122,9 +112,9 @@ Features:
|
|||||||
* XML-RPC support
|
* XML-RPC support
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
%if !0%{?is_opensuse}
|
%if !0%{?is_opensuse}
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
%endif
|
%endif
|
||||||
@ -135,34 +125,27 @@ translation-update-upstream
|
|||||||
--enable-introspection \
|
--enable-introspection \
|
||||||
--with-gssapi \
|
--with-gssapi \
|
||||||
--with-krb5-config=%{_libexecdir}/mit/bin/krb5-config
|
--with-krb5-config=%{_libexecdir}/mit/bin/krb5-config
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
rm %{buildroot}/%{_libdir}/*.*a
|
rm %{buildroot}/%{_libdir}/*.*a
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post 2_4-1 -p /sbin/ldconfig
|
%post 2_4-1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun 2_4-1 -p /sbin/ldconfig
|
%postun 2_4-1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files 2_4-1
|
%files 2_4-1
|
||||||
%defattr(-, root, root)
|
%license COPYING
|
||||||
%doc README COPYING NEWS AUTHORS
|
%doc NEWS
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-Soup-2_4
|
%files -n typelib-1_0-Soup-2_4
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/Soup-2.4.typelib
|
%{_libdir}/girepository-1.0/Soup-2.4.typelib
|
||||||
%{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
|
%{_libdir}/girepository-1.0/SoupGNOME-2.4.typelib
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%doc AUTHORS README
|
||||||
%{_includedir}/libsoup-2.4
|
%{_includedir}/libsoup-2.4
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
@ -174,4 +157,6 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/vala/vapi/libsoup-2.4.vapi
|
%{_datadir}/vala/vapi/libsoup-2.4.vapi
|
||||||
%{_datadir}/vala/vapi/libsoup-2.4.deps
|
%{_datadir}/vala/vapi/libsoup-2.4.deps
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user