]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Allow (not only tabs but also) spaces in summary fields.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 12 Feb 2007 07:57:46 +0000 (07:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    spec_utf8 -> 1.14

spec_utf8

index 149a39cddc5b6c392076a465727a0bae5eba831e..f6e715f6f6e17e8e0b58d57a1f5029c93f4b8f7e 100644 (file)
--- a/spec_utf8
+++ b/spec_utf8
@@ -58,7 +58,7 @@ def find_encoding(lang):
 
 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("^%[^{]")
This page took 0.142435 seconds and 4 git commands to generate.