forked from pool/obs-service-format_spec_file
Accepting request 107160 from home:saschpe:branches:openSUSE:Tools
- avoid breaking shell expansions OBS-URL: https://build.opensuse.org/request/show/107160 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=69
This commit is contained in:
parent
85b911362a
commit
3b671d0090
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 27 13:12:13 UTC 2012 - saschpe@suse.de
|
||||||
|
|
||||||
|
- avoid breaking shell expansions
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 24 09:48:57 UTC 2012 - coolo@suse.com
|
Fri Feb 24 09:48:57 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -320,7 +320,7 @@ sub read_and_parse_old_spec {
|
|||||||
}
|
}
|
||||||
|
|
||||||
my %aa;
|
my %aa;
|
||||||
while ($cur_tag =~ m{([^,\s]+(\s*[<=>]+\s*[^,\s]+)?)}g) {
|
while ($cur_tag =~ m{([^,\s]+(\s*[<=>]+\s*(?:\%\(.*\)|[^,\s]+))?)}g) {
|
||||||
$aa{$1}=1;
|
$aa{$1}=1;
|
||||||
}
|
}
|
||||||
# ignore line if it looks like a "usedforbuild" line, i.e.
|
# ignore line if it looks like a "usedforbuild" line, i.e.
|
||||||
|
Loading…
Reference in New Issue
Block a user