Hello community,

here is the log from the commit of package rocksndiamonds for openSUSE:Factory 
checked in at 2017-04-11 09:45:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rocksndiamonds (Old)
 and      /work/SRC/openSUSE:Factory/.rocksndiamonds.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rocksndiamonds"

Tue Apr 11 09:45:09 2017 rev:28 rq:485712 version:3.3.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/rocksndiamonds/rocksndiamonds.changes    
2016-04-12 19:37:14.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rocksndiamonds.new/rocksndiamonds.changes       
2017-04-11 09:45:10.916921997 +0200
@@ -1,0 +2,6 @@
+Thu Mar 30 12:03:56 UTC 2017 - [email protected]
+
+- require system user and group games on new distros,
+  useradd and groupadd on older ones.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rocksndiamonds.spec ++++++
--- /var/tmp/diff_new_pack.4r80S1/_old  2017-04-11 09:45:12.808654765 +0200
+++ /var/tmp/diff_new_pack.4r80S1/_new  2017-04-11 09:45:12.808654765 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rocksndiamonds
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -39,6 +39,12 @@
 BuildRequires:  update-desktop-files
 BuildRequires:  update-desktop-files
 Requires:       %{name}-data
+%if 0%{?suse_version} >= 1330
+Requires(pre):  group(games)
+Requires(pre):  user(games)
+%else
+Requires(pre): /usr/sbin/groupadd /usr/sbin/useradd
+%endif
 
 %description
 This is a nice little game with color graphics and sound for your Unix system
@@ -91,9 +97,11 @@
 
 %fdupes -s %{buildroot}%{_prefix}
 
+%if 0%{?suse_version} < 1330
 %pre
 getent group games >/dev/null || groupadd -r games
 getent passwd games >/dev/null || useradd -r -g games -d /var/games -s 
/sbin/nologin
+%endif
 
 %files
 %defattr(-,root,root,-)



Reply via email to