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 30a98b9..5000c75 100755
--- a/pearup
+++ b/pearup
@@ -22,7 +22,7 @@ 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/%changelog/%changelog\n* $rpmdate $vendor - $2-1\n- update to $2\n/" \
-e 's/\$RPM_BUILD_ROOT/%{buildroot}/' \
-i $name
else echo "Version déjà modifiée"