diff --git a/dbus-1-devel-doc.spec b/dbus-1-devel-doc.spec index d730b46..5d81c9c 100644 --- a/dbus-1-devel-doc.spec +++ b/dbus-1-devel-doc.spec @@ -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 \ diff --git a/dbus-1-x11.spec b/dbus-1-x11.spec index c7b6c18..4105648 100644 --- a/dbus-1-x11.spec +++ b/dbus-1-x11.spec @@ -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 diff --git a/dbus-1.changes b/dbus-1.changes index 887bf8c..7b2d51d 100644 --- a/dbus-1.changes +++ b/dbus-1.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 14 10:46:30 UTC 2022 - Dirk Müller + +- set runstatedir correctly + ------------------------------------------------------------------- Fri Mar 4 19:36:07 UTC 2022 - Bjørn Lie diff --git a/dbus-1.spec b/dbus-1.spec index f16376b..ab3c250 100644 --- a/dbus-1.spec +++ b/dbus-1.spec @@ -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 \