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)