SOURCES: rpm-find-spec-bcond - fixed displaying "new" bconds
twittner
twittner at pld-linux.org
Thu Aug 11 20:57:49 CEST 2005
Author: twittner Date: Thu Aug 11 18:57:49 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fixed displaying "new" bconds
---- Files affected:
SOURCES:
rpm-find-spec-bcond (1.8 -> 1.9)
---- Diffs:
================================================================
Index: SOURCES/rpm-find-spec-bcond
diff -u SOURCES/rpm-find-spec-bcond:1.8 SOURCES/rpm-find-spec-bcond:1.9
--- SOURCES/rpm-find-spec-bcond:1.8 Sun Jan 25 22:06:08 2004
+++ SOURCES/rpm-find-spec-bcond Thu Aug 11 20:57:44 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.9&f=u
More information about the pld-cvs-commit
mailing list