SPECS: bastet.spec - updated pl - use $() instead of backquotes - don't use...

pawelz pawelz at pld-linux.org
Thu Mar 26 17:14:13 CET 2009


Author: pawelz                       Date: Thu Mar 26 16:14:13 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated pl
- use $() instead of backquotes
- don't use $() in arguments of command, because return value of $(command)
  is lost.

---- Files affected:
SPECS:
   bastet.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/bastet.spec
diff -u SPECS/bastet.spec:1.2 SPECS/bastet.spec:1.3
--- SPECS/bastet.spec:1.2	Thu Mar 26 16:17:25 2009
+++ SPECS/bastet.spec	Thu Mar 26 17:14:07 2009
@@ -30,17 +30,22 @@
 frusztráló lehet!
 
 %description -l pl.UTF-8
-Klon gry tetris.
+Bastet oznacza "bastard tetris". Jest to prosty klon gry tetris z tekstowym
+interfejsem użytkownika opartym o bibliotekę ncurses. W odróżnieniu od innych
+implementacji gry tetris Bastet używa wyrafinowego algorytmu, który dobiera
+zawsze najgorszy klocek do aktualnej sytuacji. Można się zatem domyślić, że
+granie w Bastet jest bardzo frustrującym przeżyciem.
 
 %prep
 %setup -q
-%{__sed} -i 's at curses.h@ncurses/curses.h@' `grep -r -l 'curses.h' .`
+%{__sed} -i 's at curses.h@ncurses/curses.h@' *.?pp
 
 %build
+NCURSES_LIBS=$(ncurses5-config --libs)
 %{__make} \
 	CXX="%{__cxx}" \
 	CXXFLAGS="%{rpmcxxflags}" \
-	LDFLAGS="%{rpmldflags} `ncurses5-config --libs`"
+	LDFLAGS="%{rpmldflags} $NCURSES_LIBS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -62,6 +67,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/03/26 16:14:07  pawelz
+- updated pl
+- use $() instead of backquotes
+- don't use $() in arguments of command, because return value of $(command)
+  is lost.
+
 Revision 1.2  2009/03/26 15:17:25  uzsolt
 - hu summary and description
 - more verbose description (needs update pl)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/bastet.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list