diff options
author | Michael Scherer <misc@mandriva.com> | 2004-12-04 23:11:46 +0000 |
---|---|---|
committer | Michael Scherer <misc@mandriva.com> | 2004-12-04 23:11:46 +0000 |
commit | c39445a5bc22b02fa67a990db2d9f1cdfe471ebe (patch) | |
tree | 72c83b23912e81648fd73725bacba404de58de3f /rpmbuildupdate | |
parent | 74f3ed5b811c52e8034f8da5e667c5c917fcc05a (diff) | |
download | bootsplash-c39445a5bc22b02fa67a990db2d9f1cdfe471ebe.tar bootsplash-c39445a5bc22b02fa67a990db2d9f1cdfe471ebe.tar.gz bootsplash-c39445a5bc22b02fa67a990db2d9f1cdfe471ebe.tar.bz2 bootsplash-c39445a5bc22b02fa67a990db2d9f1cdfe471ebe.tar.xz bootsplash-c39445a5bc22b02fa67a990db2d9f1cdfe471ebe.zip |
- fix bug when %%changelog is present in the spec file
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($<); |