Hello community,
here is the log from the commit of package signon-plugin-oauth2 for
openSUSE:Factory checked in at 2017-11-09 16:24:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/signon-plugin-oauth2 (Old)
and /work/SRC/openSUSE:Factory/.signon-plugin-oauth2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "signon-plugin-oauth2"
Thu Nov 9 16:24:01 2017 rev:3 rq:538919 version:0.24
Changes:
--------
---
/work/SRC/openSUSE:Factory/signon-plugin-oauth2/signon-plugin-oauth2.changes
2016-06-12 18:52:35.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.signon-plugin-oauth2.new/signon-plugin-oauth2.changes
2017-11-09 16:24:03.667484287 +0100
@@ -1,0 +2,23 @@
+Fri Nov 3 10:05:16 UTC 2017 - [email protected]
+
+- update to version 0.24
+ * OAuth2: allow token URL to be on a different host
+ * OAuth2: accept replies carrying text/html content type
+- update to version 0.23
+ * OAuth: propagate network and SSL errors from SignOnUI
+ * OAuth2: add an option to disable "state" parameter
+ * Base: disconnect from reply on SSL errors
+- update to version 0.22
+ * OAuth2: add the list of granted permissions to the reply
+ * OAuth2: use "state" parameter to check for CSRF
+ * Build with QT 5 only
+ * OAuth2: Use QUrlQuery to parse callback fragment
+ * OAuth2: handle errors occurring when refreshing a token
+- update to version 0.21
+ * OAuth2: implement a fallback mechanism when parsing replies
+ * OAuth 1.0a and 2.0: allow forcing a new token
+ * Delay instantiation of QNetworkAccessManager
+- updated patches
+ * 0001_Multilib.patch
+
+-------------------------------------------------------------------
Old:
----
signon-oauth2-0.20.tar.bz2
New:
----
signon-plugin-oauth2-VERSION_0.24-2dd9ba521a0dd4277c4bf6970a7f4e3894fd85ae.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ signon-plugin-oauth2.spec ++++++
--- /var/tmp/diff_new_pack.6RmAA3/_old 2017-11-09 16:24:04.587450701 +0100
+++ /var/tmp/diff_new_pack.6RmAA3/_new 2017-11-09 16:24:04.587450701 +0100
@@ -1,7 +1,7 @@
#
# spec file for package signon-plugin-oauth2
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,22 @@
#
+%define _version VERSION_0.24-2dd9ba521a0dd4277c4bf6970a7f4e3894fd85ae
+
Name: signon-plugin-oauth2
-Version: 0.20
+Version: 0.24
Release: 0
Summary: Oauth2 plugin for the Single Sign On Framework
License: LGPL-2.0
Group: System/GUI/Other
-Url: http://code.google.com/p/accounts-sso/
-Source: signon-oauth2-%{version}.tar.bz2
+Url: https://gitlab.com/accounts-sso/signon-plugin-oauth2
+Source:
https://gitlab.com/accounts-sso/%{name}/repository/VERSION_%{version}/archive.tar.bz2#/%{name}-%{_version}.tar.bz2
Patch0: 0001_Multilib.patch
-BuildRequires: signon-plugins-devel
BuildRequires: pkgconfig(Qt5Core)
+BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Test)
-BuildRequires: pkgconfig(Qt5XmlPatterns)
BuildRequires: pkgconfig(libsignon-qt5)
+BuildRequires: pkgconfig(signon-plugins)
Requires: signon-ui
Conflicts: libproxy1-config-kde4
@@ -46,27 +48,31 @@
Sign On Framework.
%prep
-%setup -q -n signon-oauth2-%{version}
+%setup -q -n %{name}-%{_version}
%patch0 -p1 -b .multilib
sed -i 's|@LIB@|%{_lib}|g' src/signon-oauth2plugin.pc src/src.pro
%build
-qmake-qt5 \
+mkdir build
+pushd build
+%qmake5 \
PREFIX=%{_prefix} \
LIBDIR=%{_libdir} \
- QMAKE_CXXFLAGS="%{optflags}"
-
-make %{?_smp_mflags}
+ ..
+%make_jobs
+popd
%install
-make install INSTALL_ROOT=%{buildroot}
+pushd build
+%qmake5_install
+popd
rm -v %{buildroot}%{_sysconfdir}/signon-ui/webkit-options.d/*
%files
%defattr(-,root,root)
-%doc COPYING
+%doc COPYING README.md
%{_bindir}/oauthclient
%{_bindir}/signon-oauth2plugin-tests
%dir %{_libdir}/signon/
++++++ 0001_Multilib.patch ++++++
--- /var/tmp/diff_new_pack.6RmAA3/_old 2017-11-09 16:24:04.603450116 +0100
+++ /var/tmp/diff_new_pack.6RmAA3/_new 2017-11-09 16:24:04.607449971 +0100
@@ -1,5 +1,5 @@
---- a/src/signon-oauth2plugin.pc
-+++ b/src/signon-oauth2plugin.pc
+--- a/src/signon-oauth2plugin.pc 2016-06-02 11:44:21.000000000 +0200
++++ b/src/signon-oauth2plugin.pc 2017-11-03 10:57:35.659278702 +0100
@@ -1,9 +1,9 @@
prefix=/usr
exec_prefix=${prefix}
@@ -12,8 +12,8 @@
Requires: signon-plugins
-Libs.private: -L/usr/lib -lQtCore
+Libs.private: -L/usr/@LIB@ -lQtCore
---- a/src/src.pro
-+++ b/src/src.pro
+--- a/src/src.pro 2016-06-02 11:44:21.000000000 +0200
++++ b/src/src.pro 2017-11-03 10:57:55.695134875 +0100
@@ -2,7 +2,7 @@
include( ../common-vars.pri )
TEMPLATE = lib
@@ -21,5 +21,5 @@
-DESTDIR = lib/signon
+DESTDIR = @LIB@/signon
QT += core \
- network \
- xmlpatterns
+ network
+ QT -= gui