Hello community, here is the log from the commit of package mgetty for openSUSE:Factory checked in at 2015-01-29 09:56:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mgetty (Old) and /work/SRC/openSUSE:Factory/.mgetty.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mgetty" Changes: -------- --- /work/SRC/openSUSE:Factory/mgetty/mgetty.changes 2014-12-16 14:47:26.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.mgetty.new/mgetty.changes 2015-01-29 09:56:59.000000000 +0100 @@ -1,0 +2,10 @@ +Wed Jan 28 12:01:29 UTC 2015 - [email protected] + +- Require systemd-rpm-macros instead of systemd for building + +------------------------------------------------------------------- +Sat Jan 24 20:09:18 UTC 2015 - [email protected] + +- Add [email protected] and [email protected] (boo#914661) + +------------------------------------------------------------------- New: ---- [email protected] [email protected] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mgetty.spec ++++++ --- /var/tmp/diff_new_pack.5gHmfk/_old 2015-01-29 09:57:00.000000000 +0100 +++ /var/tmp/diff_new_pack.5gHmfk/_new 2015-01-29 09:57:00.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package mgetty # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,6 +23,8 @@ BuildRequires: pwdutils %if 0%{suse_version} > 1220 BuildRequires: makeinfo +BuildRequires: systemd-rpm-macros +%systemd_requires %endif Version: 1.1.36 Release: 0 @@ -35,6 +37,8 @@ Group: Hardware/Fax Source0: %{name}%{version}-Jun15.tar.bz2 Source2: logrotate +Source3: [email protected] +Source4: [email protected] Patch0: %{name}-%{version}-makefile.patch Patch1: %{name}-%{version}-local.patch Patch2: %{name}-%{version}-tempfile.patch @@ -123,6 +127,15 @@ #cp -pf %{_prefix}/X11R6/bin/pbmtext $RPM_BUILD_ROOT%{_bindir}/ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d install -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/mgetty +%if 0%{?suse_version} > 1220 +install -D -m 0755 %{SOURCE3} %{buildroot}/%{_unitdir}/[email protected] +install -D -m 0755 %{SOURCE4} %{buildroot}/%{_unitdir}/[email protected] +%endif + +%pre +%if 0%{?suse_version} > 1220 +%service_add_pre [email protected] [email protected] +%endif %pre -n sendfax %{_sbindir}/useradd -r -o -g uucp -u 33 -s /bin/bash -c "Facsimile agent" -d %{_localstatedir}/spool/fax fax 2> /dev/null || : @@ -137,9 +150,20 @@ %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz +%if 0%{?suse_version} > 1220 +%service_add_post [email protected] [email protected] +%endif + +%preun +%if 0%{?suse_version} > 1220 +%service_del_preun [email protected] [email protected] +%endif %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz +%if 0%{?suse_version} > 1220 +%service_del_postun [email protected] [email protected] +%endif %files %defattr(-, root, root) @@ -148,6 +172,10 @@ %dir %{_localstatedir}/spool/voice %dir %{_localstatedir}/spool/voice/incoming %dir %{_localstatedir}/spool/voice/messages +%if 0%{?suse_version} > 1220 +%{_unitdir}/[email protected] +%{_unitdir}/[email protected] +%endif %config(noreplace) %{_sysconfdir}/logrotate.d/mgetty %config(noreplace) %{_sysconfdir}/mgetty+sendfax/dialin.config %config(noreplace) %{_sysconfdir}/mgetty+sendfax/login.config ++++++ [email protected] ++++++ [Unit] Description=mgetty on /dev/%I Documentation=man:mgetty(8) BindsTo=dev-%i.device After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service After=rc-local.service Before=getty.target IgnoreOnIsolate=yes [Service] ExecStart=-/usr/sbin/mgetty /dev/%I Type=idle Restart=always RestartSec=0 UtmpIdentifier=%I TTYPath=/dev/%I KillMode=process IgnoreSIGPIPE=no [Install] WantedBy=getty.target ++++++ [email protected] ++++++ [Unit] Description=vgetty on /dev/%I Documentation=man:vgetty(8) BindsTo=dev-%i.device After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service After=rc-local.service Before=getty.target IgnoreOnIsolate=yes [Service] ExecStart=-/usr/sbin/vgetty /dev/%I Type=idle Restart=always RestartSec=0 UtmpIdentifier=%I TTYPath=/dev/%I KillMode=process IgnoreSIGPIPE=no [Install] WantedBy=getty.target -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
