[packages/ggz-gtk-games] - post/preun fixes; release 2

qboosh qboosh at pld-linux.org
Sun Feb 3 16:34:26 CET 2013


commit 1c9810f6849cdfd0da21b7533f6a3576013059e5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Feb 3 16:35:26 2013 +0100

    - post/preun fixes; release 2

 ggz-gtk-games.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ggz-gtk-games.spec b/ggz-gtk-games.spec
index 36bd66c..82db4a4 100644
--- a/ggz-gtk-games.spec
+++ b/ggz-gtk-games.spec
@@ -2,7 +2,7 @@ Summary:	GNOME core client for GGZ
 Summary(pl.UTF-8):	Klient GGZ dla środowiska GNOME
 Name:		ggz-gtk-games
 Version:	0.0.14.1
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		X11/Applications/Games
 Source0:	http://mirrors.dotsrc.org/ggzgamingzone/ggz/%{version}/%{name}-%{version}.tar.gz
@@ -63,13 +63,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 for d in chess chinese-checkers combat dots ggzcards hastings reversi spades tictactoe ; do
-	%{_bindir}/ggz-config --install --modfile=%{_datadir}/ggz/ggz-config/${d}.dsc
+	%{_bindir}/ggz-config --install --modfile=%{_datadir}/ggz/ggz-config/${d}.dsc --force
 done
 
 %preun
 if [ "$1" = "0" ]; then
 	for d in chess chinese-checkers combat dots ggzcards hastings reversi spades tictactoe ; do
-		%{_bindir}/ggz-config --install --modfile=%{_datadir}/ggz/ggz-config/${d}.dsc
+		%{_bindir}/ggz-config --remove --modfile=%{_datadir}/ggz/ggz-config/${d}.dsc
 	done
 fi
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ggz-gtk-games.git/commitdiff/1c9810f6849cdfd0da21b7533f6a3576013059e5



More information about the pld-cvs-commit mailing list