summaryrefslogtreecommitdiffstats
path: root/pearup
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-12-18 09:42:23 +0100
committerRemi Collet <remi@remirepo.net>2017-12-18 09:42:23 +0100
commit0f1b2cbf895b53a1ecac1a2f09dcc881a2ccf5bb (patch)
tree79474ea25f7286f696dee64d20df3bf83870a7f4 /pearup
parentddc380e1de3a0d2877462f575f20f85fd8297542 (diff)
build F27 first
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