Accepting request 266995 from home:msmeissn:branches:Base:System

- build with PIE

OBS-URL: https://build.opensuse.org/request/show/266995
OBS-URL: https://build.opensuse.org/package/show/Base:System/rtkit?expand=0&rev=28
This commit is contained in:
Marcus Meissner 2015-01-02 08:49:30 +00:00 committed by Git OBS Bridge
parent ef01354050
commit ba57ba0574
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 1 21:49:33 UTC 2015 - meissner@suse.com
- build with PIE
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 09 23:38:00 UTC 2014 - Led <ledest@gmail.com> Sun Nov 09 23:38:00 UTC 2014 - Led <ledest@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package rtkit # spec file for package rtkit
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -58,6 +58,8 @@ processes.
%build %build
autoreconf -fiv autoreconf -fiv
export CFLAGS="$RPM_OPT_FLAGS -fPIE"
export LDFLAGS="-pie"
%configure --disable-silent-rules \ %configure --disable-silent-rules \
%if 0%{?has_systemd} %if 0%{?has_systemd}
--with-systemdsystemunitdir=%{_unitdir} \ --with-systemdsystemunitdir=%{_unitdir} \
@ -71,9 +73,6 @@ make %{?_smp_mflags}
%makeinstall %makeinstall
install -D org.freedesktop.RealtimeKit1.xml $RPM_BUILD_ROOT/%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml install -D org.freedesktop.RealtimeKit1.xml $RPM_BUILD_ROOT/%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
%clean
rm -rf $RPM_BUILD_ROOT
%preun %preun
%if 0%{?has_systemd} %if 0%{?has_systemd}
%service_del_preun rtkit-daemon.service %service_del_preun rtkit-daemon.service