summaryrefslogtreecommitdiffstats
path: root/pearup
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-14 09:12:28 +0100
committerRemi Collet <remi@php.net>2024-02-14 09:12:28 +0100
commitbd6af7b5ad00dfc8f967fca77fcb8c99f2ad8745 (patch)
tree9ed9d41dbf0e1487ddb62b9726c3a6c2f439cb59 /pearup
parentb2ad6383095b103ae3c75ec78a2062914457b42b (diff)
F37 is closed
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"