Hello community,

here is the log from the commit of package signon-plugin-oauth2 for 
openSUSE:Factory checked in at 2015-05-11 19:23:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/signon-plugin-oauth2 (Old)
 and      /work/SRC/openSUSE:Factory/.signon-plugin-oauth2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "signon-plugin-oauth2"

Changes:
--------
New Changes file:

--- /dev/null   2015-04-29 01:05:10.436023256 +0200
+++ 
/work/SRC/openSUSE:Factory/.signon-plugin-oauth2.new/signon-plugin-oauth2.changes
   2015-05-11 19:23:14.000000000 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Sat Feb 22 21:34:26 UTC 2014 - [email protected]
+
+- Initial package 

New:
----
  0001_Multilib.patch
  signon-oauth2-0.20.tar.bz2
  signon-plugin-oauth2.changes
  signon-plugin-oauth2.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ signon-plugin-oauth2.spec ++++++
#
# spec file for package signon-plugin-oauth2
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           signon-plugin-oauth2
Version:        0.20
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
Patch0:         0001_Multilib.patch
BuildRequires:  signon-plugins-devel
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Test)
BuildRequires:  pkgconfig(Qt5XmlPatterns)
BuildRequires:  pkgconfig(libsignon-qt5)
Requires:       signon-ui
Conflicts:      libproxy1-kde4

%description
This package contains the Oauth2 plugin for the Single Sign On Framework.

%package devel
Summary:        Development files for signon-plugin-oauth2
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}

%description devel
This package contains the development files for the Oauth2 plugin for the Single
Sign On Framework.

%prep
%setup -q -n signon-oauth2-%{version}

%patch0 -p1 -b .multilib
sed -i 's|@LIB@|%{_lib}|g' src/signon-oauth2plugin.pc src/src.pro

%build
qmake-qt5 \
  PREFIX=%{_prefix} \
  LIBDIR=%{_libdir} \
  QMAKE_CXXFLAGS="%{optflags}"

make %{?_smp_mflags}

%install
make install INSTALL_ROOT=%{buildroot}

rm -v %{buildroot}%{_sysconfdir}/signon-ui/webkit-options.d/*

%files
%defattr(-,root,root)
%doc COPYING
%{_bindir}/oauthclient
%{_bindir}/signon-oauth2plugin-tests
%dir %{_libdir}/signon/
%{_libdir}/signon/liboauth2plugin.so
%dir %{_datadir}/signon-oauth2plugin-tests/
%{_datadir}/signon-oauth2plugin-tests/tests.xml

%files devel
%defattr(-,root,root)
%dir %{_includedir}/signon-plugins/
%{_includedir}/signon-plugins/*.h
%{_libdir}/pkgconfig/signon-oauth2plugin.pc

%changelog
++++++ 0001_Multilib.patch ++++++
--- a/src/signon-oauth2plugin.pc
+++ b/src/signon-oauth2plugin.pc
@@ -1,9 +1,9 @@
 prefix=/usr
 exec_prefix=${prefix}
-libdir=${prefix}/lib/
+libdir=${prefix}/@LIB@/
 includedir=${prefix}/include
 Name: signon-oauth2plugin
 Description: Signon OAuth 2.0 plugin
 Version: 0.0.1
 Requires: signon-plugins
-Libs.private: -L/usr/lib  -lQtCore
+Libs.private: -L/usr/@LIB@  -lQtCore
--- a/src/src.pro
+++ b/src/src.pro
@@ -2,7 +2,7 @@
 include( ../common-vars.pri )
 TEMPLATE = lib
 TARGET = oauth2plugin
-DESTDIR = lib/signon
+DESTDIR = @LIB@/signon
 QT += core \
     network \
     xmlpatterns

Reply via email to