From ef598f31e62c8a87b285195d9f55205533ad97a32e367eb13418fdd1a9124ebc Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 18 Jul 2012 14:53:30 +0000 Subject: [PATCH] Accepting request 128224 from home:fcrozat:branches:Base:System - Move systemd-analyse to a subpackage, to remove any python dependencies from systemd main package (bnc#772039). OBS-URL: https://build.opensuse.org/request/show/128224 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=290 --- systemd.changes | 6 ++++++ systemd.spec | 22 ++++++++++++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/systemd.changes b/systemd.changes index 87a604d6..4e2ebe83 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jul 18 13:14:37 UTC 2012 - fcrozat@suse.com + +- Move systemd-analyse to a subpackage, to remove any python + dependencies from systemd main package (bnc#772039). + ------------------------------------------------------------------- Tue Jul 10 16:48:20 UTC 2012 - fcrozat@suse.com diff --git a/systemd.spec b/systemd.spec index b377ded1..79a06231 100644 --- a/systemd.spec +++ b/systemd.spec @@ -16,8 +16,6 @@ # -#don't require python, use recommends (bnc#716939) - Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd Version: 44 @@ -54,7 +52,6 @@ Requires: pam-config >= 0.79-5 Requires: systemd-presets-branding Requires: udev >= 172 Requires: util-linux >= 2.21 -Recommends: dbus-1-python Conflicts: filesystem < 11.5 Conflicts: mkinitrd < 2.7.0 Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz @@ -132,6 +129,21 @@ Provides: sysvinit:/sbin/init %description sysvinit Drop-in replacement of System V init tools. +%package analyze +Summary: Tool for processing systemd profiling information +Group: System/Base +Requires: %{name} = %{version} +Requires: dbus-1-python +Requires: python-cairo +# for the systemd-analyze split: +Conflicts: systemd < 44-10 + +%description analyze +'systemd-analyze blame' lists which systemd unit needed how much time to finish +initialization at boot. +'systemd-analyze plot' renders an SVG visualizing the parallel start of units +at boot. + %prep %setup -q %patch1 -p1 @@ -311,7 +323,6 @@ rm -rf %{buildroot} /bin/systemd-machine-id-setup /usr/bin/systemd-nspawn /usr/bin/systemd-stdio-bridge -%attr(0755,root,root) /usr/bin/systemd-analyze %{_sbindir}/systemd-sysv-convert %{_libdir}/libsystemd-daemon.so.* %{_libdir}/libsystemd-login.so.* @@ -431,4 +442,7 @@ rm -rf %{buildroot} %{_mandir}/man8/telinit.8* %{_mandir}/man8/runlevel.8* +%files analyze +%attr(0755,root,root) /usr/bin/systemd-analyze + %changelog