Hello community, here is the log from the commit of package oprofile for openSUSE:Factory checked in at 2017-10-03 23:18:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/oprofile (Old) and /work/SRC/openSUSE:Factory/.oprofile.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "oprofile" Tue Oct 3 23:18:15 2017 rev:49 rq:530596 version:1.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/oprofile/oprofile.changes 2017-09-26 21:17:39.315126660 +0200 +++ /work/SRC/openSUSE:Factory/.oprofile.new/oprofile.changes 2017-10-03 23:18:24.288963015 +0200 @@ -1,0 +2,7 @@ +Mon Oct 2 21:39:00 UTC 2017 - jengelh@inai.de + +- Rectify RPM groups. Update summary of -devel subpackage. + Do not ignore errors from useradd/groupadd. + Avoid running fdupes across partitions. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ oprofile.spec ++++++ --- /var/tmp/diff_new_pack.A5Lpiy/_old 2017-10-03 23:18:25.048856073 +0200 +++ /var/tmp/diff_new_pack.A5Lpiy/_new 2017-10-03 23:18:25.056854947 +0200 @@ -72,7 +72,7 @@ This is the package containing the userspace tools. %package devel -Summary: System-Wide Profiler for Linux Systems +Summary: Development files for oprofile, a system-wide profiler for Linux Group: Development/Libraries/C and C++ Requires: binutils-devel Requires: libopagent1 = %{version}-%{release} @@ -87,7 +87,7 @@ %package -n libopagent1 Summary: System-Wide Profiler for Linux Systems -Group: Development/Libraries/C and C++ +Group: System/Libraries %description -n libopagent1 OProfile is a system-wide profiler for Linux systems, capable of @@ -127,11 +127,15 @@ rm -f %{buildroot}%{_libdir}/oprofile/libopagent.*a # Hardlink duplicate files automatically (from package fdupes): # It doesn't save much, but it keeps rpmlint from breaking the package build. -%fdupes %{buildroot} +%fdupes %{buildroot}/%{_prefix} %pre -%{_sbindir}/groupadd -r oprofile 2>/dev/null || : -%{_sbindir}/useradd -r -g oprofile -d %{_localstatedir}/lib/empty -s /bin/false -c "Special user account to be used by OProfile" oprofile 2>/dev/null || : +getent group oprofile >/dev/null || \ + %{_sbindir}/groupadd -r oprofile 2>/dev/null +getent passwd oprofile >/dev/null || \ + %{_sbindir}/useradd -r -g oprofile -d %{_localstatedir}/lib/empty \ + -s /bin/false -c "Special user account to be used by OProfile" \ + oprofile 2>/dev/null %post -n libopagent1 -p /sbin/ldconfig %postun -n libopagent1 -p /sbin/ldconfig
participants (1)
-
root@hilbert.suse.de