- set runstatedir correctly

OBS-URL: https://build.opensuse.org/package/show/Base:System/dbus-1?expand=0&rev=313
This commit is contained in:
Dirk Mueller 2022-03-14 10:47:02 +00:00 committed by Git OBS Bridge
parent 11f4778ee0
commit aa2309df38
4 changed files with 10 additions and 5 deletions

View File

@ -67,6 +67,7 @@ echo 'GENERATE_MAN=NO' >> Doxyfile.in
%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 \

View File

@ -76,9 +76,10 @@ export CXXFLAGS="%{optflags} -fno-strict-aliasing"
export V=1
%configure \
--disable-static \
--runstatedir=%{_rundir} \
--libexecdir=%{_libexecdir}/dbus-1 \
--enable-inotify \
--disable-doxygen-docs \
--disable-doxygen-docs \
%if %{with selinux}
--enable-selinux \
%endif

View File

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

View File

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