SOURCES (AC-branch): rpm-find-spec-bcond - fixed displaying "new" ...

twittner twittner at pld-linux.org
Thu Aug 11 20:55:47 CEST 2005


Author: twittner                     Date: Thu Aug 11 18:55:46 2005 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
- fixed displaying "new" bconds

---- Files affected:
SOURCES:
   rpm-find-spec-bcond (1.8 -> 1.8.6.1) 

---- Diffs:

================================================================
Index: SOURCES/rpm-find-spec-bcond
diff -u SOURCES/rpm-find-spec-bcond:1.8 SOURCES/rpm-find-spec-bcond:1.8.6.1
--- SOURCES/rpm-find-spec-bcond:1.8	Sun Jan 25 22:06:08 2004
+++ SOURCES/rpm-find-spec-bcond	Thu Aug 11 20:55:41 2005
@@ -28,9 +28,9 @@
 	       		print substr($0, RSTART, RLENGTH)                       
 	    	}
 		/^%bcond_with/ && chlog == 0 {
-			match($0, /bcond_with(out)?[ 	]+[_a-zA-Z0-9]+/);
+			match($0, /bcond_with(out)?[ \t]+[_a-zA-Z0-9]+/);
 				 bcond = substr($0, RSTART +5 , RLENGTH -5);
-				 gsub(/ /,"_",bcond);
+				 gsub(/[ \t]+/,"_",bcond);
 				 print bcond
 			}' $SPEC | sort -u`
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm-find-spec-bcond?r1=1.8&r2=1.8.6.1&f=u




More information about the pld-cvs-commit mailing list