Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pulseaudio for openSUSE:Factory checked in at 2021-07-18 23:44:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pulseaudio (Old) and /work/SRC/openSUSE:Factory/.pulseaudio.new.2632 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pulseaudio" Sun Jul 18 23:44:52 2021 rev:182 rq:906690 version:14.2 Changes: -------- --- /work/SRC/openSUSE:Factory/pulseaudio/pulseaudio.changes 2021-04-23 17:50:15.914756996 +0200 +++ /work/SRC/openSUSE:Factory/.pulseaudio.new.2632/pulseaudio.changes 2021-07-18 23:44:56.483049647 +0200 @@ -1,0 +2,6 @@ +Sat Jun 26 17:16:27 UTC 2021 - Callum Farmer <gm...@opensuse.org> + +- Change to using systemd-sysusers +- Remove old SUSE RPM constructs + +------------------------------------------------------------------- New: ---- system-user-pulse.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pulseaudio.spec ++++++ --- /var/tmp/diff_new_pack.DqBCDe/_old 2021-07-18 23:44:57.219043985 +0200 +++ /var/tmp/diff_new_pack.DqBCDe/_new 2021-07-18 23:44:57.219043985 +0200 @@ -44,6 +44,7 @@ Source7: pulseaudio.tmpfiles Source8: pulseaudio-gdm-hooks.tmpfiles Source9: client-system.conf +Source10: system-user-pulse.conf Source98: pulseaudio-rpmlintrc Source99: baselibs.conf Patch0: disabled-start.diff @@ -87,6 +88,7 @@ BuildRequires: speexdsp-devel BuildRequires: systemd-rpm-macros BuildRequires: translation-update-upstream +BuildRequires: sysuser-tools BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(dbus-1) >= 1.4.12 BuildRequires: pkgconfig(gconf-2.0) @@ -112,6 +114,7 @@ Requires(post): %fillup_prereq Requires(pre): group(audio) Requires(pre): shadow +%sysusers_requires Recommends: alsa-plugins-pulse Suggests: libsoxr0 >= 0.1.1 Conflicts: kernel < 2.6.31 @@ -147,7 +150,7 @@ Summary: LIRC module for PulseAudio Group: System/Sound Daemons Requires: %{name} = %{version} -Supplements: packageand(pulseaudio:lirc-core) +Supplements: (pulseaudio and lirc-core) %description module-lirc pulseaudio is a networked sound server for Linux and other Unix like @@ -174,7 +177,7 @@ Summary: Zeroconf module for PulseAudio Group: System/Sound Daemons Requires: %{name} = %{version} -Supplements: packageand(pulseaudio:avahi) +Supplements: (pulseaudio and avahi) %description module-zeroconf pulseaudio is a networked sound server for Linux and other Unix like @@ -218,7 +221,7 @@ Group: System/Sound Daemons Requires: %{name} = %{version} Requires: bluez >= 5 -Supplements: packageand(pulseaudio:bluez) +Supplements: (pulseaudio and bluez) %description module-bluetooth pulseaudio is a networked sound server for Linux and other Unix like @@ -321,7 +324,7 @@ #!BuildIgnore: gdm Requires: %{name} = %{version} Requires: gdm >= 2.22 -Supplements: packageand(pulseaudio:gdm) +Supplements: (pulseaudio and gdm) #for the gdm user Requires(pre): gdm @@ -337,7 +340,7 @@ Group: System/Shells Requires: %{name}-utils = %{version} Requires: bash-completion -Supplements: packageand(pulseaudio:bash-completion) +Supplements: (pulseaudio and bash-completion) %description bash-completion Optional dependency offering bash completion for various PulseAudio utilities @@ -347,7 +350,7 @@ Group: System/Shells Requires: %{name}-utils = %{version} Requires: zsh -Supplements: packageand(pulseaudio:zsh) +Supplements: (pulseaudio and zsh) %description zsh-completion Optional dependency offering zsh completion for various PulseAudio utilities @@ -405,6 +408,7 @@ %{nil} %make_build %make_build doxygen +%sysusers_generate_pre %{SOURCE10} pulseaudio system-user-pulse.conf %install %make_install @@ -424,7 +428,6 @@ # some HW may get undetected without this (check pulseaudio 6.0RC1 announce) ln -s default.conf %{buildroot}%{_datadir}/pulseaudio/alsa-mixer/profile-sets/extra-hdmi.conf -%find_lang %{name} install %{SOURCE2} %{buildroot}%{_bindir} chmod 755 %{buildroot}%{_bindir}/setup-pulseaudio install -d %{buildroot}%{_fillupdir} @@ -444,14 +447,12 @@ mkdir -p %{buildroot}%{_sysconfdir}/pulse/daemon.conf.d # Install disable_flat_volumes.conf install -m 0644 %{SOURCE6} %{buildroot}%{_sysconfdir}/pulse/daemon.conf.d/60-disable_flat_volumes.conf +# user +install -Dm0644 %{SOURCE10} %{buildroot}%{_sysusersdir}/system-user-pulse.conf +%find_lang %{name} %fdupes doxygen/html -%pre -getent group pulse >/dev/null || groupadd -r pulse -getent passwd pulse >/dev/null || useradd -r -g pulse -d %{_localstatedir}/lib/pulseaudio -s /sbin/nologin -c "PulseAudio daemon" pulse -getent group pulse-access >/dev/null || groupadd -r pulse-access -getent group audio | grep pulse >/dev/null || usermod -a -G audio pulse -exit 0 +%pre -f pulseaudio.pre %post /sbin/ldconfig @@ -615,6 +616,7 @@ %{_userunitdir}/%{name}.service %{_userunitdir}/%{name}.socket %{_prefix}/lib/tmpfiles.d/pulseaudio.conf +%{_sysusersdir}/system-user-pulse.conf %ghost %dir %{_localstatedir}/lib/pulseaudio # created by setup-pulseaudio script ++++++ system-user-pulse.conf ++++++ #Type Name ID GECOS Home directory Shell g pulse-access - - - - u pulse - "PulseAudio daemon" /var/lib/pulseaudio - m pulse audio - - -