From ba883278632240f38e7f34c9110d617d395f9882b2b02b67ccc7d15ca0482f66 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 24 Sep 2013 20:07:23 +0000 Subject: [PATCH] Accepting request 200184 from home:dimstar:branches:GNOME:Factory - Create games user/group on demand (fate#314560) + Depend on pwdutils for that to work. - Update to version 3.10.0: + Updated translations. OBS-URL: https://build.opensuse.org/request/show/200184 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-nibbles?expand=0&rev=10 --- gnome-nibbles-3.10.0.tar.xz | 3 +++ gnome-nibbles-3.9.92.tar.xz | 3 --- gnome-nibbles.changes | 12 ++++++++++++ gnome-nibbles.spec | 9 +++++++-- 4 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 gnome-nibbles-3.10.0.tar.xz delete mode 100644 gnome-nibbles-3.9.92.tar.xz diff --git a/gnome-nibbles-3.10.0.tar.xz b/gnome-nibbles-3.10.0.tar.xz new file mode 100644 index 0000000..b288b53 --- /dev/null +++ b/gnome-nibbles-3.10.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bf774cbd86e617c49f1740e79d52a7d26bf23656a673db1efb20bcc893e614a +size 1757488 diff --git a/gnome-nibbles-3.9.92.tar.xz b/gnome-nibbles-3.9.92.tar.xz deleted file mode 100644 index c009f68..0000000 --- a/gnome-nibbles-3.9.92.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:581def76eeeb9028147abec23f935f9ea0081cfdf660ddb77d3c2cde09f2fff6 -size 1773704 diff --git a/gnome-nibbles.changes b/gnome-nibbles.changes index bfb8fe5..ef7fcb0 100644 --- a/gnome-nibbles.changes +++ b/gnome-nibbles.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Sep 23 11:11:00 UTC 2013 - idonmez@suse.com + +- Create games user/group on demand (fate#314560) + + Depend on pwdutils for that to work. + +------------------------------------------------------------------- +Mon Sep 23 07:09:21 UTC 2013 - dimstar@opensuse.org + +- Update to version 3.10.0: + + Updated translations. + ------------------------------------------------------------------- Sun Sep 15 10:21:19 UTC 2013 - dimstar@opensuse.org diff --git a/gnome-nibbles.spec b/gnome-nibbles.spec index bd6d188..cabd6d1 100644 --- a/gnome-nibbles.spec +++ b/gnome-nibbles.spec @@ -17,13 +17,13 @@ Name: gnome-nibbles -Version: 3.9.92 +Version: 3.10.0 Release: 0 Summary: Worm Game for GNOME License: GPL-2.0+ Group: Amusements/Games/Action/Arcade Url: https://live.gnome.org/Lightsoff -Source: http://download.gnome.org/sources/gnome-nibbles/3.9/%{name}-%{version}.tar.xz +Source: http://download.gnome.org/sources/gnome-nibbles/3.10/%{name}-%{version}.tar.xz BuildRequires: gnome-games-scripts BuildRequires: hicolor-icon-theme BuildRequires: intltool >= 0.35.0 @@ -36,6 +36,7 @@ BuildRequires: pkgconfig(gtk+-3.0) >= 3.4.0 BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26 BuildRequires: pkgconfig(librsvg-2.0) >= 2.32.0 Recommends: %{name}-lang +Requires(pre): pwdutils # gnome-nibbles was part of gnome-games until 3.7.x and was called gnibbles Obsoletes: gnibbles < %{version} Obsoletes: gnibbles-lang < %{version} @@ -61,6 +62,10 @@ make %{?_smp_mflags} %suse_update_desktop_file gnibbles %{_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