packages: jag/jag.spec - avoid dos2unix dependency. sed is better as it doe...

pawelz pawelz at pld-linux.org
Thu Feb 4 13:05:29 CET 2010


Author: pawelz                       Date: Thu Feb  4 12:05:29 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- avoid dos2unix dependency. sed is better as it does not introduce new dependency.

---- Files affected:
packages/jag:
   jag.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/jag/jag.spec
diff -u packages/jag/jag.spec:1.2 packages/jag/jag.spec:1.3
--- packages/jag/jag.spec:1.2	Thu Feb  4 13:02:12 2010
+++ packages/jag/jag.spec	Thu Feb  4 13:05:21 2010
@@ -19,7 +19,6 @@
 BuildRequires:	QtOpenGL-devel
 BuildRequires:	QtXml-devel
 BuildRequires:	SDL_mixer-devel
-BuildRequires:	dos2unix
 BuildRequires:	qt4-build
 BuildRequires:	qt4-qmake
 BuildRequires:	sed >= 4.0
@@ -40,7 +39,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}-src
-dos2unix editor/editor.pro Game.pro main.cpp
+%{__sed} -i -e 's,\r$,,' editor/editor.pro Game.pro main.cpp
 %patch0 -p1
 
 %build
@@ -69,6 +68,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/02/04 12:05:21  pawelz
+- avoid dos2unix dependency. sed is better as it does not introduce new dependency.
+
 Revision 1.2  2010/02/04 12:02:12  lisu
 - proper OpenGL-devel BR
 - use dos2unix on files to be patched
================================================================

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



More information about the pld-cvs-commit mailing list