diff options
Diffstat (limited to 'rpmbuildupdate')
-rwxr-xr-x | rpmbuildupdate | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmbuildupdate b/rpmbuildupdate index 88657ea..3eeee86 100755 --- a/rpmbuildupdate +++ b/rpmbuildupdate @@ -247,7 +247,7 @@ sub build { $specvars{$i} = $1 if !$specvars{$i} && /$i\s*:\s+(\S+)/gi; } - if (/\%changelog/) + if (/(:?^|[^%])\%changelog/g) { $message =~ s/\%\%VERSION/$newversion/; my @l = getpwuid($<); |