summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpearup2
-rwxr-xr-xpkgup2
2 files changed, 2 insertions, 2 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"
diff --git a/pkgup b/pkgup
index 80817cc..914a84d 100755
--- a/pkgup
+++ b/pkgup
@@ -20,6 +20,6 @@ sed --regexp-extended \
--expression "/github_version/s/[0-9.]+$/$1/" \
--expression "/(github|gh)_commit/s/[0-9a-f]{40}$/$2/" \
--expression '/^Release:/s/[0-9.]+/1/' \
- --expression "s/%changelog/%changelog\n* $rpmdate $vendor - $1-1\n- Update to $1\n/" \
+ --expression "s/%changelog/%changelog\n* $rpmdate $vendor - $1-1\n- update to $1\n/" \
--in-place $name.spec