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