Hello community, here is the log from the commit of package obs-service-format_spec_file for openSUSE:Factory checked in at 2012-05-31 17:07:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/obs-service-format_spec_file (Old) and /work/SRC/openSUSE:Factory/.obs-service-format_spec_file.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "obs-service-format_spec_file", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/obs-service-format_spec_file/obs-service-format_spec_file.changes 2012-05-14 16:16:40.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.obs-service-format_spec_file.new/obs-service-format_spec_file.changes 2012-05-31 17:07:31.000000000 +0200 @@ -1,0 +2,5 @@ +Tue May 29 09:51:33 UTC 2012 - adrian@suse.de + +- do not break require lines using %() macros + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ prepare_spec ++++++ --- /var/tmp/diff_new_pack.NAqgSx/_old 2012-05-31 17:07:32.000000000 +0200 +++ /var/tmp/diff_new_pack.NAqgSx/_new 2012-05-31 17:07:32.000000000 +0200 @@ -320,8 +320,14 @@ } my %aa; - while ($cur_tag =~ m{([^,\s]+(\s*[<=>]+\s*(?:\%\(.*\)|[^,\s]+))?)}g) { - $aa{$1}=1; + if ($cur_tag =~ /%\(/) { + # do not touch lines with shell execution + $aa{$cur_tag}=1; + } else { + # seperate tags of all other lines + while ($cur_tag =~ m{([^,\s]+(\s*[<=>]+\s*(?:\%\(.*\)|[^,\s]+))?)}g) { + $aa{$1}=1; + } } # ignore line if it looks like a "usedforbuild" line, i.e. # if it contains too many base packages -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org