Accepting request 961966 from Base:System
- set runstatedir correctly OBS-URL: https://build.opensuse.org/request/show/961966 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dbus-1?expand=0&rev=170
This commit is contained in:
commit
63a30f45a2
@ -61,12 +61,16 @@ bus daemon).
|
||||
|
||||
%build
|
||||
echo 'HTML_TIMESTAMP=NO' >> Doxyfile.in
|
||||
# Skip generation of API doc manpages we do not ship
|
||||
echo 'GENERATE_MAN=NO' >> Doxyfile.in
|
||||
|
||||
# We use -fpie/-pie for the whole build; this is the recommended way to harden
|
||||
# the build upstream, see discussion in fdo#46570
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC -fpie"
|
||||
export LDFLAGS="-pie"
|
||||
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export V=1
|
||||
%configure \
|
||||
--disable-static \
|
||||
--libexecdir=%{_libexecdir}/dbus-1 \
|
||||
--runstatedir=%{_rundir} \
|
||||
--enable-doxygen-docs \
|
||||
--with-console-auth-dir=/run/dbus/at_console/ \
|
||||
--with-system-pid-file=/run/dbus/pid \
|
||||
|
@ -67,7 +67,6 @@ in this separate package so server systems need not install X.
|
||||
|
||||
%build
|
||||
echo 'HTML_TIMESTAMP=NO' >> Doxyfile.in
|
||||
autoreconf -fi
|
||||
# We use -fpie/-pie for the whole build; this is the recommended way to harden
|
||||
# the build upstream, see discussion in fdo#46570
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing -fPIC -fpie"
|
||||
@ -76,6 +75,7 @@ export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export V=1
|
||||
%configure \
|
||||
--disable-static \
|
||||
--runstatedir=%{_rundir} \
|
||||
--libexecdir=%{_libexecdir}/dbus-1 \
|
||||
--enable-inotify \
|
||||
--disable-doxygen-docs \
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 14 10:46:30 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- set runstatedir correctly
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 4 19:36:07 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
@ -32,14 +32,12 @@ Source2: dbus-1.keyring
|
||||
Source3: baselibs.conf
|
||||
Source4: dbus-1.desktop
|
||||
Source5: messagebus.conf
|
||||
|
||||
# PATCH-FEATURE-OPENSUSE feature-suse-log-deny.patch
|
||||
Patch0: feature-suse-log-deny.patch
|
||||
# PATCH-FIX-OPENSUSE coolo@suse.de -- force a feature configure won't accept without x11 in buildrequires
|
||||
Patch1: feature-suse-do-autolaunch.patch
|
||||
# PATCH-FEATURE-OPENSUSE sflees@suse.de, users shouldn't be allowed to start / stop the dbus service.
|
||||
Patch2: feature-suse-refuse-manual-start-stop.patch
|
||||
|
||||
BuildRequires: alts
|
||||
BuildRequires: audit-devel
|
||||
BuildRequires: cmake
|
||||
@ -50,11 +48,10 @@ BuildRequires: pkgconfig
|
||||
BuildRequires: sysuser-tools
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: pkgconfig(libsystemd) >= 209
|
||||
|
||||
Requires: alts
|
||||
Requires(post): %{_libname} = %{version}
|
||||
Requires(post): diffutils
|
||||
Requires(pre): permissions
|
||||
Requires: alts
|
||||
Provides: dbus-launch
|
||||
%sysusers_requires
|
||||
%if %{with selinux}
|
||||
@ -108,6 +105,7 @@ export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
export V=1
|
||||
%configure \
|
||||
--disable-static \
|
||||
--runstatedir=%{_rundir} \
|
||||
--libexecdir=%{_libexecdir}/dbus-1 \
|
||||
--enable-inotify \
|
||||
--disable-doxygen-docs \
|
||||
|
Loading…
Reference in New Issue
Block a user