From 5913e8a7bbe9cc195c29be2e57df9b826072c008 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Sep 20 2017 11:19:37 +0000 Subject: vim-update.sh - update was in bad form --- diff --git a/vim-update.sh b/vim-update.sh index a795180..c180789 100755 --- a/vim-update.sh +++ b/vim-update.sh @@ -98,7 +98,7 @@ if [ $CHANGES -ne 0 ]; then if [ "$pending_update" == "" ] && [ "$testing_update" == "" ]; then fedpkg build if [ $? -eq 0 ]; then - bodhi updates new --user zdohnal --type enhancement --notes "The newest upstream commit" --request testing --autokarma --stable-karma 3 --unstable-karma -3 vim-${UPSTREAMMAJOR}-${LASTPLFILLED}-1.${releases[@]: $release_index: 1} + bodhi updates new --user zdohnal --type enhancement --notes "The newest upstream commit" --request testing --autokarma --stable-karma 3 --unstable-karma -3 vim-${UPSTREAMMAJOR}.${LASTPLFILLED}-1.${releases[@]: $release_index: 1} else echo "Error when building package in $branch" exit 1 @@ -140,8 +140,8 @@ if [ $CHANGES -ne 0 ]; then if [ "$pending_update" == "" ] && [ "$testing_update" == "" ]; then fedpkg build if [ $? -eq 0 ]; then - if [ ${branches[@]: $branches_index: 1} != "master" ]; then - bodhi updates new --user zdohnal --type enhancement --notes "The newest upstream commit" --request testing --autokarma --stable-karma 3 --unstable-karma -3 vim-${UPSTREAMMAJOR}-${LASTPLFILLED}-1.${releases[@]: $release_index: 1} + if [ $branch != "master" ]; then + bodhi updates new --user zdohnal --type enhancement --notes "The newest upstream commit" --request testing --autokarma --stable-karma 3 --unstable-karma -3 vim-${UPSTREAMMAJOR}.${LASTPLFILLED}-1.${releases[@]: $release_index: 1} fi else echo "Error when building package for $branch" diff --git a/vim.spec b/vim.spec index 6584546..f4d2f45 100644 --- a/vim.spec +++ b/vim.spec @@ -21,7 +21,7 @@ Summary: The VIM editor URL: http://www.vim.org/ Name: vim Version: %{baseversion}.%{patchlevel} -Release: 1%{?dist} +Release: 2%{?dist} License: Vim Group: Applications/Editors Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2 @@ -769,6 +769,9 @@ rm -rf %{buildroot} %{_datadir}/icons/locolor/*/apps/* %changelog +* Wed Sep 20 2017 Zdenek Dohnal - 8.0.1129-2 +- vim-update.sh - update was in bad form + * Wed Sep 20 2017 Karsten Hopp 8.0.1129-1 - patchlevel 1129