Accepting request 200172 from home:namtrac:bugfix
- Create games user/group on demand (fate#314560) * Depend on pwdutils for that to work. OBS-URL: https://build.opensuse.org/request/show/200172 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-robots?expand=0&rev=13
This commit is contained in:
parent
30d2faa520
commit
6e9e0b7d84
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 11:13:11 UTC 2013 - idonmez@suse.com
|
||||
|
||||
- Create games user/group on demand (fate#314560)
|
||||
* Depend on pwdutils for that to work.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 16 20:29:48 UTC 2013 - dimstar@opensuse.org
|
||||
|
||||
|
@ -33,6 +33,7 @@ BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.4.0
|
||||
BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26
|
||||
BuildRequires: pkgconfig(librsvg-2.0) >= 2.32.0
|
||||
Requires(pre): pwdutils
|
||||
# gnome-robots used to be called 'gnobots' and was part of gnome-games until 3.7.x
|
||||
Obsoletes: gnobots2 < 3.7
|
||||
Obsoletes: gnobots2-lang < 3.7
|
||||
@ -59,6 +60,10 @@ make %{?_smp_mflags}
|
||||
%suse_update_desktop_file gnobots2
|
||||
%{_bindir}/gnome-games-create-post %{buildroot}
|
||||
|
||||
%pre
|
||||
getent group games >/dev/null || groupadd -r games
|
||||
getent passwd games >/dev/null || useradd -r -g games -d /var/games -s /sbin/nologin
|
||||
|
||||
%post -f %{name}.scores_post
|
||||
%set_permissions %{_bindir}/%{name}
|
||||
%glib2_gsettings_schema_post
|
||||
|
Loading…
x
Reference in New Issue
Block a user