[atomix] - Don't overwrite highscore file on upgrades (rhbz#685109)
Hans de Goede
jwrdegoede at fedoraproject.org
Tue Mar 15 12:21:27 UTC 2011
commit 285863a742ae650e6d1d8ebe8900d94bf02e4fb5
Author: Hans de Goede <hdegoede at redhat.com>
Date: Tue Mar 15 13:23:28 2011 +0100
- Don't overwrite highscore file on upgrades (rhbz#685109)
atomix.spec | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/atomix.spec b/atomix.spec
index 2868fc2..0306b53 100644
--- a/atomix.spec
+++ b/atomix.spec
@@ -1,13 +1,11 @@
Name: atomix
Version: 2.14.0
-Release: 9.1
+Release: 10%{?dist}
Summary: Puzzle game: Build molecules out of isolated atoms
Group: Amusements/Games
License: GPLv2+
-URL: http://ftp.gnome.org/pub/GNOME/sources/atomix/2.14/
-# Old URL: http://www.informatik.uni-oldenburg.de/~pearl/gnome/atomix.html
-# Official URL: http://www.gnome.org/projects/atomix (404 as of 09/2006)
+URL: http://jens.triq.net/atomix.php
Source0: http://ftp.gnome.org/pub/GNOME/sources/atomix/2.14/atomix-2.14.0.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -46,12 +44,8 @@ mv ${RPM_BUILD_ROOT}%{_localstatedir}/games ${RPM_BUILD_ROOT}%{_localstatedir}/l
desktop-file-install --vendor fedora \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
--delete-original \
- --add-category Application \
- --add-category X-Fedora \
--add-category LogicGame \
--remove-category PuzzleGame \
- --remove-category GNOME \
- --remove-category GTK \
${RPM_BUILD_ROOT}%{_datadir}/applications/atomix.desktop
@@ -67,10 +61,13 @@ rm -rf ${RPM_BUILD_ROOT}
%{_datadir}/pixmaps/atomix-icon.png
%{_datadir}/gnome-2.0/ui/atomix-ui.xml
%{_datadir}/applications/fedora-atomix.desktop
-%attr(0664,games,games) %{_localstatedir}/lib/games/atomix.scores
+%verify(not md5 size mtime) %config(noreplace) %attr(0664,games,games) %{_localstatedir}/lib/games/atomix.scores
%changelog
+* Tue Mar 15 2011 Hans de Goede <hdegoede at redhat.com> - 2.14.0-10
+- Don't overwrite highscore file on upgrades (rhbz#685109)
+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.14.0-9.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list