Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package motion for openSUSE:Factory checked in at 2026-10-28 20:24:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/motion (Old) and /work/SRC/openSUSE:Factory/.motion.new.2252680 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "motion" Wed Oct 28 20:24:14 2026 rev:21 rq:1393456 version:4.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/motion/motion.changes 2025-10-23 16:36:39.028384330 +0200 +++ /work/SRC/openSUSE:Factory/.motion.new.2252680/motion.changes 2026-10-28 20:24:17.737236612 +0100 @@ -1,0 +2,8 @@ +Tue Oct 20 15:30:58 UTC 2026 - Christopher Hofmann <[email protected]> + +- Make it installable on busybox images/systems by + * removing hard requirement of sysusers-tools + * using sysusers.d to create user/group instead + * recommending instead of requiring 'systemd' + +------------------------------------------------------------------- New: ---- system-user-motion.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ motion.spec ++++++ --- /var/tmp/diff_new_pack.q5LdzG/_old 2026-10-28 20:24:18.635274201 +0100 +++ /var/tmp/diff_new_pack.q5LdzG/_new 2026-10-28 20:24:18.638274327 +0100 @@ -1,7 +1,7 @@ # # spec file for package motion # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,12 +28,14 @@ Source0: https://github.com/Motion-Project/motion/archive/release-%{version}.tar.gz Source1: motion-service Source2: motion-sysconfig +Source3: system-user-motion.conf Patch0: harden_motion.service.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libjpeg-devel BuildRequires: libtool BuildRequires: pkgconfig +BuildRequires: sysuser-tools BuildRequires: group(video) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) @@ -45,10 +47,10 @@ BuildRequires: pkgconfig(sqlite3) Requires(pre): %fillup_prereq Requires(pre): group(video) -Requires(pre): shadow Provides: group(motion) Provides: user(motion) -%{?systemd_requires} +%{?systemd_ordering} +%{?sysusers_requires} %description Motion is a software motion detector. It grabs images from video4linux devices @@ -71,6 +73,9 @@ --without-pgsql %make_build +sed -i 's|##HOMEDIR##|%{spooldir}|' %{SOURCE3} +%sysusers_generate_pre %{SOURCE3} motion %{name}.conf + %install %make_install @@ -84,6 +89,7 @@ sed -i 's|; target_dir value|target_dir %{spooldir}|' %{buildroot}%{_sysconfdir}/%{name}/motion.conf install -m 0644 -D -t %{buildroot}%{_datadir}/%{name}/examples data/*.{conf,service} +install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/%{name}.conf mkdir -p %{buildroot}%{_unitdir} install -c -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/motion.service @@ -106,9 +112,7 @@ %postun %service_del_postun motion.service -%pre -getent group motion || groupadd --system motion -getent passwd motion || useradd -g motion -G video -c "Motion capture daemon" -d %{spooldir} --system motion +%pre -f motion.pre %service_add_pre motion.service %preun @@ -130,4 +134,5 @@ %config %{_unitdir}/motion.service %{_fillupdir}/sysconfig.%{name} %{_sbindir}/rcmotion +%{_sysusersdir}/%{name}.conf ++++++ system-user-motion.conf ++++++ #Type Name ID GECOS Home directory Shell u! motion - "Motion capture daemon" ##HOMEDIR## - m motion video
