Hello community, here is the log from the commit of package khunphan for openSUSE:Factory checked in at 2013-09-25 15:19:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/khunphan (Old) and /work/SRC/openSUSE:Factory/.khunphan.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "khunphan" Changes: -------- --- /work/SRC/openSUSE:Factory/khunphan/khunphan.changes 2012-09-23 17:06:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.khunphan.new/khunphan.changes 2013-09-25 15:19:25.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Sep 23 11:16:04 UTC 2013 - [email protected] + +- Add games user/group on demand (fate#314560) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ khunphan.spec ++++++ --- /var/tmp/diff_new_pack.F3vOoP/_old 2013-09-25 15:19:26.000000000 +0200 +++ /var/tmp/diff_new_pack.F3vOoP/_new 2013-09-25 15:19:26.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package khunphan # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ BuildRequires: update-desktop-files BuildRequires: xorg-x11-Mesa-devel BuildRequires: pkgconfig(glu) +Requires(pre): pwdutils Summary: Traditional Thai Puzzle Board Game in 3D with Wooden Blocks License: GPL-2.0+ Group: Amusements/Games/3D/Other @@ -59,8 +60,6 @@ sound effects. Ambient and Drum & Bass music from Nifflas (www.nifflas.com) gives the game a unique atmosphere. - - %prep %setup -q %patch @@ -77,6 +76,10 @@ %configure make %{?_smp_mflags} +%pre +getent group games >/dev/null || groupadd -r games +getent passwd games >/dev/null || useradd -r -g games -d /var/games -s /sbin/nologin + %install %makeinstall #install -D -m 755 -o games -g games %name %buildroot/%{binary} -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
