From bedad9246734b373d067a135c3e8eaa1d637489a853d86e947c9995828a44828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Fri, 9 Jun 2017 17:30:44 +0000 Subject: [PATCH] Accepting request 502476 from home:msmeissn:branches:Base:System - remove CFLAGS setting, -fstack-protector is default and -fPIC will be auto-selected. OBS-URL: https://build.opensuse.org/request/show/502476 OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1-glib?expand=0&rev=53 --- dbus-1-glib.changes | 6 ++++++ dbus-1-glib.spec | 9 +++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/dbus-1-glib.changes b/dbus-1-glib.changes index 219d188..dab6a73 100644 --- a/dbus-1-glib.changes +++ b/dbus-1-glib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 9 06:45:23 UTC 2017 - meissner@suse.com + +- remove CFLAGS setting, -fstack-protector is default and -fPIC + will be auto-selected. + ------------------------------------------------------------------- Thu Oct 20 09:25:32 UTC 2016 - zaitor@opensuse.org diff --git a/dbus-1-glib.spec b/dbus-1-glib.spec index 37fcc39..31c9486 100644 --- a/dbus-1-glib.spec +++ b/dbus-1-glib.spec @@ -1,7 +1,7 @@ # # spec file for package dbus-1-glib # -# Copyright (c) 2016 SUSE LINUX 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 @@ -74,7 +74,6 @@ GLib thread abstraction and main loop. %setup -q -n dbus-glib-%{version} %build -export CFLAGS="%{optflags} -fstack-protector -fPIC" %configure \ --libexecdir=%{_libexecdir}/%{name} \ %if 0%{?_crossbuild} @@ -89,11 +88,9 @@ find %{buildroot} -type f -name "*.la" -delete -print # Remove the exacutable bit from dbus-bash-completion.sh chmod -x %{buildroot}/%{_sysconfdir}/bash_completion.d/dbus-bash-completion.sh -%post -%{run_ldconfig} +%post -p /sbin/ldconfig -%postun -%{run_ldconfig} +%postun -p /sbin/ldconfig %files %defattr(-, root, root)