commit oprofile for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2023-09-29 21:13:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "oprofile" Fri Sep 29 21:13:26 2023 rev:57 rq:1113945 version:1.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes 2023-05-01 18:51:25.853444140 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new.28202/oprofile.changes 2023-09-29 21:14:27.711671005 +0200 @@ -1,0 +2,6 @@ +Thu Sep 28 01:52:52 UTC 2023 - Tony Jones <tonyj@suse.com> + +- Fix build error, change user/group pre handling to procedure specified + at https://en.opensuse.org/Packaging/Users_And_Groups + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ oprofile.spec ++++++ --- /var/tmp/diff_new_pack.8QEF6S/_old 2023-09-29 21:14:29.835747641 +0200 +++ /var/tmp/diff_new_pack.8QEF6S/_new 2023-09-29 21:14:29.843747929 +0200 @@ -46,8 +46,7 @@ BuildRequires: pkgconfig BuildRequires: popt-devel BuildRequires: zlib-devel -Requires(pre): %{_sbindir}/groupadd -Requires(pre): %{_sbindir}/useradd +Requires(pre): pwdutils %ifarch ppc ppc64 ppc64le BuildRequires: libpfm-devel >= 4.3.0 %endif @@ -129,12 +128,11 @@ %fdupes %{buildroot}/%{_prefix} %pre -getent group oprofile >/dev/null || \ - %{_sbindir}/groupadd -r oprofile +getent group oprofile >/dev/null || groupadd -r oprofile 2> /dev/null getent passwd oprofile >/dev/null || \ - %{_sbindir}/useradd -r -g oprofile -d %{_localstatedir}/lib/empty \ + useradd -r -g oprofile -d %{_localstatedir}/lib/empty \ -s /bin/false -c "Special user account to be used by OProfile" \ - oprofile + oprofile 2> /dev/null %post -n libopagent1 -p /sbin/ldconfig %postun -n libopagent1 -p /sbin/ldconfig
participants (1)
-
Source-Sync