[packages/signon-oauth2] - added x32 patch, release 2

qboosh qboosh at pld-linux.org
Wed Apr 27 22:25:20 CEST 2016


commit 9015005f0a51145392e8a81f3cd2b2eea044098b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 27 22:25:55 2016 +0200

    - added x32 patch, release 2

 signon-oauth2-x32.patch | 15 +++++++++++++++
 signon-oauth2.spec      |  4 +++-
 2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/signon-oauth2.spec b/signon-oauth2.spec
index db7849d..2b5d670 100644
--- a/signon-oauth2.spec
+++ b/signon-oauth2.spec
@@ -2,7 +2,7 @@ Summary:	OAuth 2.0 plugin for Single Sign On daemon
 Summary(pl.UTF-8):	Wtyczka OAuth 2.0 dla demona Single Sign On
 Name:		signon-oauth2
 Version:	0.23
-Release:	1
+Release:	2
 License:	LGPL v2.1
 Group:		Libraries
 #Source0Download: https://gitlab.com/accounts-sso/signon-plugin-oauth2/tags?page=2
@@ -10,6 +10,7 @@ Group:		Libraries
 #Source0:	https://gitlab.com/accounts-sso/signon-plugin-oauth2/repository/archive.tar.bz2?ref=VERSION_%{version}&fake_out=/%{name}-%{version}.tar.bz2
 Source0:	archive.tar.bz2%3Fref=VERSION_%{version}
 # Source0-md5:	dc1f73e6c841b5f318f1f53d29e220a1
+Patch0:		%{name}-x32.patch
 URL:		https://gitlab.com/accounts-sso/signon-plugin-oauth2
 BuildRequires:	Qt5Core-devel >= 5
 BuildRequires:	Qt5Network-devel >= 5
@@ -49,6 +50,7 @@ Pliki programistyczne wtyczki OAuth 2.0 dla usługi Single Sign On.
 
 %prep
 %setup -q -n signon-plugin-oauth2-VERSION_%{version}-b74b5397992caddeb32a6158c9295126c55a3025
+%patch0 -p1
 
 %build
 qmake-qt5 signon-oauth2.pro \
diff --git a/signon-oauth2-x32.patch b/signon-oauth2-x32.patch
new file mode 100644
index 0000000..71c52aa
--- /dev/null
+++ b/signon-oauth2-x32.patch
@@ -0,0 +1,15 @@
+--- signon-plugin-oauth2-VERSION_0.23-b74b5397992caddeb32a6158c9295126c55a3025/common-project-config.pri.orig	2015-09-30 08:43:00.000000000 +0200
++++ signon-plugin-oauth2-VERSION_0.23-b74b5397992caddeb32a6158c9295126c55a3025/common-project-config.pri	2016-04-27 22:15:48.502441372 +0200
+@@ -48,11 +48,7 @@
+     ARCH = $$system(uname -m)
+ }
+ 
+-contains( ARCH, x86_64 ) {
+-    INSTALL_LIBDIR = $${INSTALL_PREFIX}/lib64
+-} else {
+-    INSTALL_LIBDIR = $${INSTALL_PREFIX}/lib
+-}
++INSTALL_LIBDIR = $$[QT_INSTALL_LIBS]
+ 
+ # default library directory can be overriden by defining LIBDIR when
+ # running qmake
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/signon-oauth2.git/commitdiff/9015005f0a51145392e8a81f3cd2b2eea044098b



More information about the pld-cvs-commit mailing list