packages: freeciv/freeciv.spec - readability with ggz_server bcond in file ...

glen glen at pld-linux.org
Sun Feb 7 22:45:19 CET 2010


Author: glen                         Date: Sun Feb  7 21:45:19 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- readability with ggz_server bcond in file
- "*" is evil, use "*.png" instead in files glob

---- Files affected:
packages/freeciv:
   freeciv.spec (1.127 -> 1.128) 

---- Diffs:

================================================================
Index: packages/freeciv/freeciv.spec
diff -u packages/freeciv/freeciv.spec:1.127 packages/freeciv/freeciv.spec:1.128
--- packages/freeciv/freeciv.spec:1.127	Sun Feb  7 21:22:02 2010
+++ packages/freeciv/freeciv.spec	Sun Feb  7 22:45:13 2010
@@ -135,9 +135,9 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS README ChangeLog NEWS
-%{_pixmapsdir}/*
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/helpdata.txt
+%{_pixmapsdir}/*.png
 
 %files server
 %defattr(644,root,root,755)
@@ -150,11 +150,14 @@
 %{_datadir}/%{name}/scenario
 %{_datadir}/%{name}/*.serv
 %{_mandir}/man6/civserver.6*
-%{?with_ggz_server:%dir %{_sysconfdir}/ggzd}
-%{?with_ggz_server:%dir %{_sysconfdir}/ggzd/games}
-%{?with_ggz_server:%dir %{_sysconfdir}/ggzd/rooms}
-%{?with_ggz_server:%{_sysconfdir}/ggzd/games/civserver.dsc}
-%{?with_ggz_server:%{_sysconfdir}/ggzd/rooms/civserver.room}
+
+%if %{with ggz_server}
+%dir %{_sysconfdir}/ggzd
+%dir %{_sysconfdir}/ggzd/games
+%dir %{_sysconfdir}/ggzd/rooms
+%{_sysconfdir}/ggzd/games/civserver.dsc
+%{_sysconfdir}/ggzd/rooms/civserver.room
+%endif
 
 %files client
 %defattr(644,root,root,755)
@@ -176,7 +179,7 @@
 %{_datadir}/%{name}/trident
 %{_datadir}/%{name}/wonders
 %{_mandir}/man6/civclient.6*
-%{_iconsdir}/hicolor/*/apps/*
+%{_iconsdir}/hicolor/*/apps/*.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -184,6 +187,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.128  2010/02/07 21:45:13  glen
+- readability with ggz_server bcond in file
+- "*" is evil, use "*.png" instead in files glob
+
 Revision 1.127  2010/02/07 20:22:02  lisu
 - add /etc/ggzd dir
 - rel 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/freeciv/freeciv.spec?r1=1.127&r2=1.128&f=u



More information about the pld-cvs-commit mailing list