summaryrefslogtreecommitdiffstats
path: root/pearup
diff options
context:
space:
mode:
Diffstat (limited to 'pearup')
-rwxr-xr-xpearup2
1 files changed, 1 insertions, 1 deletions
diff --git a/pearup b/pearup
index b4a023c..556bd2a 100755
--- a/pearup
+++ b/pearup
@@ -35,7 +35,7 @@ if [ "x$5" = "xGA" ]; then
sed -e '/global upstream_prever/s/^%global/#global/' \
-i *spec
elif [ -n "$5" ]; then
- sed -e "/global upstream_prever/s/$4/$5/" \
+ sed -e "/global upstream_prever/s/prever.*$/prever $5/" \
-i *spec
newver="$2$5"
rpmver="$2~$5"