forked from pool/systemd
Autobuild autoformatter for 74015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=40
This commit is contained in:
parent
1393f1054f
commit
fa5e4417c2
17
systemd.spec
17
systemd.spec
@ -52,7 +52,6 @@ Patch1: 0001-Add-bootsplash-handling-for-password-dialogs.patch
|
|||||||
# in the patch. Any patches added here without a very good reason to make
|
# in the patch. Any patches added here without a very good reason to make
|
||||||
# an exception will be silently removed with the next version update.
|
# an exception will be silently removed with the next version update.
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Systemd is a system and service manager, compatible with SysV and LSB
|
Systemd is a system and service manager, compatible with SysV and LSB
|
||||||
init scripts for Linux. systemd provides aggressive parallelization
|
init scripts for Linux. systemd provides aggressive parallelization
|
||||||
@ -69,7 +68,6 @@ Group: System/Base
|
|||||||
Summary: Graphical front-end for systemd
|
Summary: Graphical front-end for systemd
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
|
||||||
%description gtk
|
%description gtk
|
||||||
Graphical front-end for systemd system and service manager.
|
Graphical front-end for systemd system and service manager.
|
||||||
|
|
||||||
@ -82,13 +80,11 @@ Provides: sbin_init
|
|||||||
Conflicts: sysvinit
|
Conflicts: sysvinit
|
||||||
Conflicts: upstart
|
Conflicts: upstart
|
||||||
|
|
||||||
|
|
||||||
%description sysvinit
|
%description sysvinit
|
||||||
Drop-in replacement of System V init tools.
|
Drop-in replacement of System V init tools.
|
||||||
|
|
||||||
%if %{build_plymouth}
|
%if %{build_plymouth}
|
||||||
|
|
||||||
|
|
||||||
%package plymouth
|
%package plymouth
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
@ -96,17 +92,14 @@ Summary: Plymouth support for systemd
|
|||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: plymouth
|
Requires: plymouth
|
||||||
|
|
||||||
|
|
||||||
%description plymouth
|
%description plymouth
|
||||||
Plymouth integration for systemd
|
Plymouth integration for systemd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
# prevent pre-generated and distributed files from re-building
|
# prevent pre-generated and distributed files from re-building
|
||||||
@ -122,7 +115,6 @@ export V=1
|
|||||||
touch *.vala */*.vala
|
touch *.vala */*.vala
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
|
find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
|
||||||
@ -162,7 +154,6 @@ ln -s systemd-random-seed-load.service %{buildroot}/lib/systemd/system/random.se
|
|||||||
(cd %{buildroot} && find . -name '*plymouth*') > files.plymouth
|
(cd %{buildroot} && find . -name '*plymouth*') > files.plymouth
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/bin/systemd-machine-id-setup >/dev/null 2>&1 || :
|
/bin/systemd-machine-id-setup >/dev/null 2>&1 || :
|
||||||
/bin/systemctl daemon-reexec >/dev/null 2>&1 || :
|
/bin/systemctl daemon-reexec >/dev/null 2>&1 || :
|
||||||
@ -183,7 +174,6 @@ if [ "$1" -eq 1 ]; then
|
|||||||
remote-fs.target >/dev/null 2>&1 || :
|
remote-fs.target >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/bin/systemctl disable \
|
/bin/systemctl disable \
|
||||||
@ -194,11 +184,9 @@ if [ $1 -eq 0 ]; then
|
|||||||
rm -f /etc/systemd/system/default.target 2>&1 || :
|
rm -f /etc/systemd/system/default.target 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/bin/systemd
|
/bin/systemd
|
||||||
@ -272,7 +260,6 @@ rm -rf %{buildroot}
|
|||||||
%dir %{_sysconfdir}/bash_completion.d
|
%dir %{_sysconfdir}/bash_completion.d
|
||||||
/etc/bash_completion.d/systemctl-bash-completion.sh
|
/etc/bash_completion.d/systemctl-bash-completion.sh
|
||||||
|
|
||||||
|
|
||||||
%files gtk
|
%files gtk
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{_bindir}/systemadm
|
%{_bindir}/systemadm
|
||||||
@ -281,7 +268,6 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%if %{build_plymouth}
|
%if %{build_plymouth}
|
||||||
|
|
||||||
|
|
||||||
%files plymouth
|
%files plymouth
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/lib/systemd/system/plymouth-*.service
|
/lib/systemd/system/plymouth-*.service
|
||||||
@ -289,7 +275,6 @@ rm -rf %{buildroot}
|
|||||||
/lib/systemd/system/systemd-ask-password-plymouth.*
|
/lib/systemd/system/systemd-ask-password-plymouth.*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files sysvinit
|
%files sysvinit
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
/sbin/init
|
/sbin/init
|
||||||
@ -307,6 +292,4 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man8/telinit.8*
|
%{_mandir}/man8/telinit.8*
|
||||||
%{_mandir}/man8/runlevel.8*
|
%{_mandir}/man8/runlevel.8*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user