SPECS: spec_utf8 Allow (not only tabs but also) spaces in summary ...

arekm arekm at pld-linux.org
Mon Feb 12 08:57:51 CET 2007


Author: arekm                        Date: Mon Feb 12 07:57:51 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
Allow (not only tabs but also) spaces in summary fields.

---- Files affected:
SPECS:
   spec_utf8 (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/spec_utf8
diff -u SPECS/spec_utf8:1.13 SPECS/spec_utf8:1.14
--- SPECS/spec_utf8:1.13	Sun Feb 11 21:40:29 2007
+++ SPECS/spec_utf8	Mon Feb 12 08:57:46 2007
@@ -58,7 +58,7 @@
 
 def parse_spec(infile, outfile):
   success = True
-  re_summary = re.compile("^Summary\(([^\)]+)\):\t+(.*)$")
+  re_summary = re.compile("^Summary\(([^\)]+)\):[ \t]+(.*)$")
   re_utf = re.compile("^utf-8$", re.I)
   re_desc = re.compile("^(%description.*\s)-l\s+([\S]+)($|\s.*$)")
   re_proc = re.compile("^%[^{]")
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/spec_utf8?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list