Hello community,

here is the log from the commit of package crawl for openSUSE:Factory checked 
in at 2017-05-22 10:47:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crawl (Old)
 and      /work/SRC/openSUSE:Factory/.crawl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crawl"

Mon May 22 10:47:56 2017 rev:27 rq:496873 version:0.19.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/crawl/crawl.changes      2017-03-28 
15:21:03.727424027 +0200
+++ /work/SRC/openSUSE:Factory/.crawl.new/crawl.changes 2017-05-22 
10:48:57.812397667 +0200
@@ -1,0 +2,6 @@
+Tue May 16 20:36:28 UTC 2017 - [email protected]
+
+- On platforms > Leap 42.x/SLE12, require user(games) and
+  group(games) instead of creating the user/group in pre.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ crawl.spec ++++++
--- /var/tmp/diff_new_pack.HSgGE1/_old  2017-05-22 10:48:58.708271398 +0200
+++ /var/tmp/diff_new_pack.HSgGE1/_new  2017-05-22 10:48:58.712270834 +0200
@@ -48,7 +48,12 @@
 BuildRequires:  pkgconfig(sdl2)
 BuildRequires:  pkgconfig(sqlite3)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} >= 1330
+Requires:       group(games)
+Requires:       user(games)
+%else
 Requires(pre):  pwdutils
+%endif
 Requires:       %{name}-data = %{version}
 
 %define about Crawl is a fun game in the grand tradition of games like Rogue, 
Hack, and Moria.\
@@ -110,8 +115,11 @@
 mv crawl.tty crawl
 
 %pre
+%if 0%{?suse_version} < 1330
+# Anything after Leap 42.x / SLE12 base uses user/group package dependencies
 getent group games >/dev/null || groupadd -r games
 getent passwd games >/dev/null || useradd -r -g games -d /var/games -s 
/sbin/nologin
+%endif
 # move old saves
 if [ -d /var/games/crawl ]; then
        if [ -d /root/.crawl ]; then


Reply via email to