Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package colord for openSUSE:Factory checked in at 2021-12-12 00:55:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/colord (Old) and /work/SRC/openSUSE:Factory/.colord.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "colord" Sun Dec 12 00:55:54 2021 rev:84 rq:936201 version:1.4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/colord/colord.changes 2021-01-19 15:58:39.147058746 +0100 +++ /work/SRC/openSUSE:Factory/.colord.new.2520/colord.changes 2021-12-12 00:56:26.290536119 +0100 @@ -1,0 +2,5 @@ +Sat Nov 20 15:53:00 UTC 2021 - Callum Farmer <[email protected]> + +- Change to systemd-sysusers + +------------------------------------------------------------------- New: ---- colord.sysusers ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ colord.spec ++++++ --- /var/tmp/diff_new_pack.KJAh7a/_old 2021-12-12 00:56:26.754536437 +0100 +++ /var/tmp/diff_new_pack.KJAh7a/_new 2021-12-12 00:56:26.754536437 +0100 @@ -30,6 +30,7 @@ Source2: %{name}.keyring # Apparmor profile Source3: usr.lib.colord +Source4: colord.sysusers Source99: baselibs.conf BuildRequires: argyllcms @@ -37,6 +38,7 @@ BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: meson +BuildRequires: sysuser-tools BuildRequires: pkgconfig BuildRequires: pkgconfig(bash-completion) >= 2.0 BuildRequires: pkgconfig(dbus-1) @@ -57,7 +59,7 @@ BuildRequires: pkgconfig(vapigen) Requires: argyllcms Requires: colord-color-profiles -Requires(pre): pwdutils +%sysusers_requires %{?systemd_requires} %description @@ -143,6 +145,7 @@ %autosetup -p1 %build +%sysusers_generate_pre %{SOURCE4} %{name} %{name}.conf # Set ~2 GiB limit so that colprof is forced to work in chunks when # generating the print profile rather than trying to allocate a 3.1 GiB # chunk of RAM to put the entire B-to-A tables in. @@ -178,16 +181,14 @@ # Install Apparmor profile mkdir -p %{buildroot}%{_sysconfdir}/apparmor.d/ install -c -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/apparmor.d/ + +install -Dm0644 %{SOURCE4} %{buildroot}%{_sysusersdir}/%{name}.conf %find_lang %{name} -%pre -# Create colord user -getent group colord >/dev/null || groupadd -r colord -getent passwd colord >/dev/null || useradd -r -g colord -d %{_localstatedir}/lib/colord -s /sbin/nologin -c "user for colord" colord +%pre -f %{name}.pre %service_add_pre %{name}.service # Fix ownership of /var/lib/colord from first packages (in 12.1) test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord -exit 0 %preun %service_del_preun %{name}.service @@ -207,6 +208,7 @@ %license COPYING %doc AUTHORS NEWS %{_unitdir}/colord.service +%{_sysusersdir}/%{name}.conf %{_udevrulesdir}/*.rules %attr(755,colord,colord) %dir %{_localstatedir}/lib/colord %{_datadir}/bash-completion/completions/colormgr ++++++ colord.sysusers ++++++ #Type Name ID GECOS Home directory Shell u colord - "user for colord" /var/lib/colord -
