summaryrefslogtreecommitdiffstats
path: root/pearup
diff options
context:
space:
mode:
Diffstat (limited to 'pearup')
-rwxr-xr-xpearup1
1 files changed, 1 insertions, 0 deletions
diff --git a/pearup b/pearup
index 3ed4d2c..30a98b9 100755
--- a/pearup
+++ b/pearup
@@ -21,6 +21,7 @@ else echo "Release inchangée"
fi
if ! grep -q "^Version:.*$2" $name; then
sed -e "/^Version:/s/$1/$2/" \
+ -e "/upstream_version/s/$1/$2/" \
-e "s/%changelog/%changelog\n* $rpmdate $vendor - $2-1\n- Update to $2\n/" \
-e 's/\$RPM_BUILD_ROOT/%{buildroot}/' \
-i $name