- Move systemd-analyse to a subpackage, to remove any python

dependencies from systemd main package (bnc#772039).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=290
This commit is contained in:
Andreas Jaeger 2012-07-18 14:53:30 +00:00 committed by Git OBS Bridge
parent df4e35ed75
commit 4968135466
2 changed files with 24 additions and 4 deletions

View File

@ -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 Tue Jul 10 16:48:20 UTC 2012 - fcrozat@suse.com

View File

@ -16,8 +16,6 @@
# #
#don't require python, use recommends (bnc#716939)
Name: systemd Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 44 Version: 44
@ -54,7 +52,6 @@ Requires: pam-config >= 0.79-5
Requires: systemd-presets-branding Requires: systemd-presets-branding
Requires: udev >= 172 Requires: udev >= 172
Requires: util-linux >= 2.21 Requires: util-linux >= 2.21
Recommends: dbus-1-python
Conflicts: filesystem < 11.5 Conflicts: filesystem < 11.5
Conflicts: mkinitrd < 2.7.0 Conflicts: mkinitrd < 2.7.0
Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
@ -132,6 +129,21 @@ Provides: sysvinit:/sbin/init
%description sysvinit %description sysvinit
Drop-in replacement of System V init tools. 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 %prep
%setup -q %setup -q
%patch1 -p1 %patch1 -p1
@ -311,7 +323,6 @@ rm -rf %{buildroot}
/bin/systemd-machine-id-setup /bin/systemd-machine-id-setup
/usr/bin/systemd-nspawn /usr/bin/systemd-nspawn
/usr/bin/systemd-stdio-bridge /usr/bin/systemd-stdio-bridge
%attr(0755,root,root) /usr/bin/systemd-analyze
%{_sbindir}/systemd-sysv-convert %{_sbindir}/systemd-sysv-convert
%{_libdir}/libsystemd-daemon.so.* %{_libdir}/libsystemd-daemon.so.*
%{_libdir}/libsystemd-login.so.* %{_libdir}/libsystemd-login.so.*
@ -431,4 +442,7 @@ rm -rf %{buildroot}
%{_mandir}/man8/telinit.8* %{_mandir}/man8/telinit.8*
%{_mandir}/man8/runlevel.8* %{_mandir}/man8/runlevel.8*
%files analyze
%attr(0755,root,root) /usr/bin/systemd-analyze
%changelog %changelog