rpms/xscorch/devel xscorch.spec,1.7,1.8

Marcin Garski (mgarski) fedora-extras-commits at redhat.com
Sat May 5 21:53:10 UTC 2007


Author: mgarski

Update of /cvs/pkgs/rpms/xscorch/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1748

Modified Files:
	xscorch.spec 
Log Message:
- Spec tweak



Index: xscorch.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xscorch/devel/xscorch.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- xscorch.spec	31 Aug 2006 15:50:05 -0000	1.7
+++ xscorch.spec	5 May 2007 21:52:34 -0000	1.8
@@ -1,6 +1,6 @@
 Name:		xscorch
 Version:	0.2.0
-Release:	8%{?dist}
+Release:	9%{?dist}
 Summary:	A Scorched Earth clone
 
 Group:		Amusements/Games
@@ -15,8 +15,6 @@
 
 BuildRequires:	libX11-devel libXpm-devel gtk2-devel >= 2.4.0 desktop-file-utils
 #BuildRequires:	readline-devel
-Requires(post):	desktop-file-utils
-Requires(postun): desktop-file-utils
 
 %description
 xscorch is a clone of the classic DOS game, "Scorched Earth". The basic goal
@@ -45,17 +43,18 @@
 	--dir $RPM_BUILD_ROOT%{_datadir}/applications \
 	%{SOURCE1}
 
-%post
-update-desktop-database &> /dev/null ||:
-
-%postun
-update-desktop-database &> /dev/null ||:
+# Fix encoding
+for i in AUTHORS ChangeLog
+do
+	iconv -f ISO-8859-1 -t UTF-8 < ${i} > ${i}.tmp
+	mv -f ${i}.tmp ${i}
+done
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-, root, root)
+%defattr(-,root,root,-)
 %doc doc/AI AUTHORS ChangeLog COPYING doc/make_text_data.pl doc/NETWORK NEWS
 %doc doc/NOTES README TODO
 %{_bindir}/xscorch
@@ -64,6 +63,9 @@
 %{_datadir}/xscorch/
 
 %changelog
+* Sat May 05 2007 Marcin Garski <mgarski[AT]post.pl> 0.2.0-9
+- Spec tweak
+
 * Thu Aug 31 2006 Marcin Garski <mgarski[AT]post.pl> 0.2.0-8
 - Rebuild for FC6
 




More information about the fedora-extras-commits mailing list