PLD-doc: devel-hints-pl.txt, devel-hints-en.txt - updated %undos macro usage

pawelz pawelz at pld-linux.org
Thu Jun 17 15:13:44 CEST 2010


Author: pawelz                       Date: Thu Jun 17 13:13:44 2010 GMT
Module: PLD-doc                       Tag: HEAD
---- Log message:
- updated %undos macro usage

---- Files affected:
PLD-doc:
   devel-hints-pl.txt (1.68 -> 1.69) , devel-hints-en.txt (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: PLD-doc/devel-hints-pl.txt
diff -u PLD-doc/devel-hints-pl.txt:1.68 PLD-doc/devel-hints-pl.txt:1.69
--- PLD-doc/devel-hints-pl.txt:1.68	Thu Jun 17 15:09:22 2010
+++ PLD-doc/devel-hints-pl.txt	Thu Jun 17 15:13:39 2010
@@ -352,11 +352,14 @@
    Należy w takim przypadku przekonwertować końce linii w patchowanych
    plikach, na przykład tak:
 
-   %undos build.xml
+   # Popraw wszystkie pliki .js i .css
+   %undos -f js,css
 
-   albo
+   # Popraw wszystkie pliki .js i .JS
+   %undos -f js -i
 
-   %undos $(find -name '*.php')
+   # Popraw wszystkie pliki Makefile
+   %{__find} -name Makefile | xargs %undos
 
    Pamiętaj, żeby dodać odpowiednie BR-y dla makra %undos takie, jak opisano w
    pliku BuildRequires.txt.

================================================================
Index: PLD-doc/devel-hints-en.txt
diff -u PLD-doc/devel-hints-en.txt:1.56 PLD-doc/devel-hints-en.txt:1.57
--- PLD-doc/devel-hints-en.txt:1.56	Thu Jun 10 14:53:06 2010
+++ PLD-doc/devel-hints-en.txt	Thu Jun 17 15:13:39 2010
@@ -349,11 +349,14 @@
    checkout, try to undos sources before patching using %undos macro. For
    example:
 
-   %undos build.xml
+   # undos all .js and .css files
+   %undos -f js,css
 
-   or
+   # undos al .js and .JS files
+   %undos -f js -i
 
-   %undos $(find -name '*.php')
+   # undos all Makefiles
+   %{__find} -name Makefile | xargs %undos
 
    Don't forget to add %undos BRs. See BuildRequires.txt for details.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/PLD-doc/devel-hints-pl.txt?r1=1.68&r2=1.69&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/PLD-doc/devel-hints-en.txt?r1=1.56&r2=1.57&f=u



More information about the pld-cvs-commit mailing list