Hello community, here is the log from the commit of package dbus-1 for openSUSE:Factory checked in at 2015-06-01 09:33:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dbus-1 (Old) and /work/SRC/openSUSE:Factory/.dbus-1.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dbus-1" Changes: -------- --- /work/SRC/openSUSE:Factory/dbus-1/dbus-1-x11.changes 2015-05-20 23:28:01.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.dbus-1.new/dbus-1-x11.changes 2015-06-01 09:33:01.000000000 +0200 @@ -1,0 +2,7 @@ +Wed May 27 17:00:54 UTC 2015 - hrvoje.senjan@gmail.com + +- Move common-begin sections around to make pre_checkin work again +- Unconditionally build with systemd features, there are no cycles + now, systemd no longer buildrequires dbus-1-devel + +------------------------------------------------------------------- dbus-1.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dbus-1-x11.spec ++++++ --- /var/tmp/diff_new_pack.Xe0VBV/_old 2015-06-01 09:33:02.000000000 +0200 +++ /var/tmp/diff_new_pack.Xe0VBV/_new 2015-06-01 09:33:02.000000000 +0200 @@ -16,24 +16,19 @@ # -%define with_systemd 1 %define _name dbus %define _libname libdbus-1-3 %bcond_without docs %bcond_without selinux -# COMMON1-BEGIN -# COMMON1-BEGIN -%if ! %{with_systemd} -%define _unitdir %{_libexecdir}/systemd/system -%endif Name: dbus-1-x11 -Version: 1.8.18 -Release: 0 Summary: D-Bus Message Bus System License: GPL-2.0+ or AFL-2.1 Group: System/Daemons Url: http://dbus.freedesktop.org/ -# +# COMMON1-BEGIN +# COMMON1-BEGIN +Version: 1.8.18 +Release: 0 Source0: http://dbus.freedesktop.org/releases/dbus/%{_name}-%{version}.tar.gz Source2: dbus-1.desktop Source3: dbus_at_console.ck @@ -41,25 +36,23 @@ Patch0: dbus-log-deny.patch # PATCH-FIX-OPENSUSE coolo@suse.de -- force a feature configure won't accept without x11 in buildrequires Patch1: dbus-do-autolaunch.patch -BuildRequires: audit-devel -BuildRequires: doxygen BuildRequires: libcap-ng-devel BuildRequires: libexpat-devel BuildRequires: libtool BuildRequires: pkg-config -BuildRequires: update-desktop-files -BuildRequires: xmlto -BuildRequires: pkgconfig(x11) BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if %{with_systemd} BuildRequires: pkgconfig(libsystemd-daemon) BuildRequires: pkgconfig(libsystemd-login) -%endif %if %{with selinux} BuildRequires: libselinux-devel %endif # COMMON1-END # COMMON1-END +BuildRequires: audit-devel +BuildRequires: doxygen +BuildRequires: update-desktop-files +BuildRequires: xmlto +BuildRequires: pkgconfig(x11) %description D-Bus contains some tools that require Xlib to be installed, those are @@ -130,9 +123,7 @@ %if %{with selinux} --enable-selinux \ %endif -%if %{with_systemd} --enable-systemd \ -%endif --enable-libaudit \ %if 0%{?suse_version} <= 1315 --with-console-auth-dir=/var/run/dbus/at_console/ \ @@ -154,7 +145,7 @@ %install # COMMON2-END # COMMON2-END -make DESTDIR=%{buildroot} install %{?_smp_mflags} +make DESTDIR=%{buildroot} install mkdir -p %{buildroot}/%{_bindir} mkdir -p %{buildroot}/%{_mandir}/man1 mkdir -p %{buildroot}%{_prefix}/sbin @@ -259,10 +250,6 @@ %ghost /run/dbus %endif %ghost %{_localstatedir}/lib/dbus/machine-id -%if ! %{with_systemd} -%dir %{_libexecdir}/systemd -%dir %{_unitdir} -%endif %{_unitdir}/dbus.service %{_unitdir}/dbus.socket %dir %{_unitdir}/dbus.target.wants ++++++ dbus-1.spec ++++++ --- /var/tmp/diff_new_pack.Xe0VBV/_old 2015-06-01 09:33:02.000000000 +0200 +++ /var/tmp/diff_new_pack.Xe0VBV/_new 2015-06-01 09:33:02.000000000 +0200 @@ -16,23 +16,20 @@ # -%define with_systemd 0 +%define with_systemd 1 %define _name dbus %define _libname libdbus-1-3 %bcond_with docs %bcond_without selinux -# COMMON1-BEGIN -%if ! %{with_systemd} -%define _unitdir %{_libexecdir}/systemd/system -%endif Name: dbus-1 -Version: 1.8.18 -Release: 0 Summary: D-Bus Message Bus System License: GPL-2.0+ or AFL-2.1 Group: System/Daemons Url: http://dbus.freedesktop.org/ -# +# WARNING don't use cosmetic beautifiers. it will break the specs after calling pre_checkin script. we don't need to be pretty, but efficient +# COMMON1-BEGIN +Version: 1.8.18 +Release: 0 Source0: http://dbus.freedesktop.org/releases/dbus/%{_name}-%{version}.tar.gz Source2: dbus-1.desktop Source3: dbus_at_console.ck @@ -45,10 +42,8 @@ BuildRequires: libtool BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if %{with_systemd} BuildRequires: pkgconfig(libsystemd-daemon) BuildRequires: pkgconfig(libsystemd-login) -%endif %if %{with selinux} BuildRequires: libselinux-devel %endif @@ -118,9 +113,7 @@ %if %{with selinux} --enable-selinux \ %endif -%if %{with_systemd} --enable-systemd \ -%endif --enable-libaudit \ %if 0%{?suse_version} <= 1315 --with-console-auth-dir=/var/run/dbus/at_console/ \ ++++++ dbus-1-x11.spec.in ++++++ --- /var/tmp/diff_new_pack.Xe0VBV/_old 2015-06-01 09:33:02.000000000 +0200 +++ /var/tmp/diff_new_pack.Xe0VBV/_new 2015-06-01 09:33:02.000000000 +0200 @@ -16,22 +16,22 @@ # -%define with_systemd 1 %define _name dbus %define _libname libdbus-1-3 %bcond_without docs +%bcond_without selinux Name: dbus-1-x11 Summary: D-Bus Message Bus System License: GPL-2.0+ or AFL-2.1 Group: System/Daemons Url: http://dbus.freedesktop.org/ +# COMMON1-BEGIN +# COMMON1-END BuildRequires: audit-devel BuildRequires: doxygen BuildRequires: update-desktop-files BuildRequires: xmlto BuildRequires: pkgconfig(x11) -# COMMON1-BEGIN -# COMMON1-END %description D-Bus contains some tools that require Xlib to be installed, those are @@ -83,7 +83,11 @@ mv %{buildroot}/bin/dbus-launch %{buildroot}/%{_bindir} mv %{buildroot}/bin/dbus-run-session %{buildroot}/%{_bindir} ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rcdbus +%if 0%{?suse_version} <= 1315 +install -d %{buildroot}/var/run/dbus +%else install -d %{buildroot}/run/dbus +%endif mkdir -p %{buildroot}/%{_datadir}/susehelp/meta/Development/Libraries/ install -m 0644 %{SOURCE2} \ %{buildroot}/%{_datadir}/susehelp/meta/Development/Libraries/dbus-1.desktop @@ -115,7 +119,11 @@ %pre -n dbus-1 %{_sbindir}/groupadd -r messagebus 2> /dev/null || : +%if 0%{?suse_version} <= 1315 +%{_sbindir}/useradd -r -s /bin/false -c "User for D-Bus" -d /var/run/dbus -g messagebus messagebus 2> /dev/null || : +%else %{_sbindir}/useradd -r -s /bin/false -c "User for D-Bus" -d /run/dbus -g messagebus messagebus 2> /dev/null || : +%endif %post -n dbus-1 if [ -e %{_localstatedir}/lib/dbus/machine-id -a -e %{_sysconfdir}/machine-id ]; then @@ -166,12 +174,12 @@ # See doc/system-activation.txt in source tarball for the rationale # behind these permissions %attr(4750,root,messagebus) %verify(not mode) /lib/dbus-1/dbus-daemon-launch-helper +%if 0%{?suse_version} <= 1315 +%ghost /var/run/dbus +%else %ghost /run/dbus -%ghost %{_localstatedir}/lib/dbus/machine-id -%if ! %{with_systemd} -%dir %{_libexecdir}/systemd -%dir %{_unitdir} %endif +%ghost %{_localstatedir}/lib/dbus/machine-id %{_unitdir}/dbus.service %{_unitdir}/dbus.socket %dir %{_unitdir}/dbus.target.wants
participants (1)
-
root@hilbert.suse.de