Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package solanum for openSUSE:Factory checked in at 2023-06-21 22:39:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/solanum (Old) and /work/SRC/openSUSE:Factory/.solanum.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "solanum" Wed Jun 21 22:39:24 2023 rev:4 rq:1094250 version:0~ch560 Changes: -------- --- /work/SRC/openSUSE:Factory/solanum/solanum.changes 2022-05-20 17:52:09.587304313 +0200 +++ /work/SRC/openSUSE:Factory/.solanum.new.15902/solanum.changes 2023-06-21 22:40:30.198603768 +0200 @@ -1,0 +2,7 @@ +Tue Jun 20 15:40:08 UTC 2023 - Franck Bui <f...@suse.com> + +- Convert %sysusers_create_inline into %sysusers_create_package + + %sysusers_create_inline is deprecated and will go away soon. + +------------------------------------------------------------------- New: ---- solanum-sysusers.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ solanum.spec ++++++ --- /var/tmp/diff_new_pack.RP0DwP/_old 2023-06-21 22:40:30.706606826 +0200 +++ /var/tmp/diff_new_pack.RP0DwP/_new 2023-06-21 22:40:30.714606874 +0200 @@ -1,7 +1,7 @@ # # spec file for package solanum # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,7 @@ URL: https://github.com/solanum-ircd/solanum Source: %name-%version.tar.xz +Source1: %name-sysusers.conf Source9: example.conf BuildRequires: autoconf BuildRequires: automake @@ -71,6 +72,8 @@ # Place some config file that will make it run out of the box on localhost cp "%{S:9}" "$b/%_sysconfdir/%name/ircd.conf" +install -D %SOURCE1 %{buildroot}%{_sysusersdir}/%name.conf + mkdir -p "$b/%_localstatedir/lib/solanum" \ "$b/%_localstatedir/log/solanum" "$b/%_sbindir" \ "$b/%_unitdir" "$b/%_sysusersdir" "$b/%_tmpfilesdir" @@ -84,9 +87,6 @@ [Install] WantedBy=multi-user.target EOF -cat >"$b/%_sysusersdir/solanum.conf" <<-EOF - u solanum - "Solanum ircd" -EOF cat >"$b/%_tmpfilesdir/solanum.conf" <<-EOF d /run/%name 0755 solanum solanum - EOF @@ -94,12 +94,11 @@ rm -Rf "$b/%_libdir/pkgconfig" "$b/%_libdir/libratbox.so" %pre -%{sysusers_create_inline u solanum - "Solanum ircd"} +%sysusers_create_package %name %SOURCE1 %service_add_pre %name.service %post %service_add_post %name.service -%sysusers_create %name.conf %tmpfiles_create %name.conf %preun ++++++ solanum-sysusers.conf ++++++ u solanum - "Solanum ircd"