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
This commit is contained in:
Bjørn Lie 2017-06-09 17:30:44 +00:00 committed by Git OBS Bridge
parent e15cea7800
commit bedad92467
2 changed files with 9 additions and 6 deletions

View File

@ -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

View File

@ -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)