aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mandriva.com>2004-12-04 23:11:46 +0000
committerMichael Scherer <misc@mandriva.com>2004-12-04 23:11:46 +0000
commitc39445a5bc22b02fa67a990db2d9f1cdfe471ebe (patch)
tree72c83b23912e81648fd73725bacba404de58de3f
parent74f3ed5b811c52e8034f8da5e667c5c917fcc05a (diff)
downloadbootsplash-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
-rwxr-xr-xrpmbuildupdate2
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($<);