Hello community,

here is the log from the commit of package gnokii for openSUSE:Factory checked 
in at 2019-04-01 12:38:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnokii (Old)
 and      /work/SRC/openSUSE:Factory/.gnokii.new.25356 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnokii"

Mon Apr  1 12:38:50 2019 rev:43 rq:689945 version:0.6.31

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnokii/gnokii.changes    2015-06-17 
16:16:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gnokii.new.25356/gnokii.changes 2019-04-01 
12:38:57.077931691 +0200
@@ -1,0 +2,8 @@
+Fri Mar 29 10:19:52 UTC 2019 - plater <[email protected]>
+
+- Fix build with postgresql11 by requiring postgresql-server-devel
+  which pg_config is moved to.
+- Add -fPIE and -pie to non suid flags to build position independant
+  executables.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ gnokii.spec ++++++
--- /var/tmp/diff_new_pack.s9Gava/_old  2019-04-01 12:38:58.305932287 +0200
+++ /var/tmp/diff_new_pack.s9Gava/_new  2019-04-01 12:38:58.305932287 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gnokii
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -20,7 +20,7 @@
 Version:        0.6.31
 Release:        0
 Summary:        Nokia Connectivity Program
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Hardware/Mobile
 Url:            http://www.gnokii.org/
 Source:         
http://www.gnokii.org/download/gnokii/%{name}-%{version}.tar.bz2
@@ -51,7 +51,11 @@
 BuildRequires:  mysql-devel
 BuildRequires:  pcsc-lite-devel
 BuildRequires:  perl-XML-Parser
+%if 0%{?suse_version} > 1501
+BuildRequires:  postgresql-server-devel
+%else
 BuildRequires:  postgresql-devel
+%endif
 BuildRequires:  readline-devel
 BuildRequires:  sqlite3-devel
 BuildRequires:  update-desktop-files
@@ -109,7 +113,8 @@
 %build
 # Needed by patch0 and patch1
 autoreconf -fi
-export CFLAGS="%{optflags} -fgnu89-inline -D_GNU_SOURCE -fPIC -Wall 
-Wno-unused -fstack-protector -fno-strict-aliasing"
+export CFLAGS="%{optflags} -fgnu89-inline -D_GNU_SOURCE -fPIC -Wall 
-Wno-unused -fstack-protector -fno-strict-aliasing -fPIE"
+export LDFLAGS="$LDFLAGS -pie"
 export SUID_CFLAGS="-fPIE"
 export SUID_LDFLAGS="-pie"
 %configure \


Reply via email to