From 0c733d9f6d79c375d6f96d6c4cbeefd43cce7a5f Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 15 Dec 2017 08:31:32 +0100 Subject: [PATCH] fixing vim-update.sh --- vim-update.sh | 6 +++--- vim.spec | 5 ++++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/vim-update.sh b/vim-update.sh index 47c665fa..e54ad253 100755 --- a/vim-update.sh +++ b/vim-update.sh @@ -149,11 +149,11 @@ if [ $CHANGES -ne 0 ]; then # Check if release has pending or testing update - if not, build package # and submit update for testing - pending_update=`bodhi updates query --packages vim --status pending \ - | grep $releases_regexp` + #pending_update=`bodhi updates query --packages vim --status pending \ + # | grep $releases_regexp` testing_update=`bodhi updates query --packages vim --status testing \ | grep $releases_regexp` - if [ "$pending_update" == "" ] && [ "$testing_update" == "" ] && [ $done_build -eq 1 ]; then + if [[ "$testing_update" == "" && $done_build -eq 1 ]]; then fedpkg build if [ $? -eq 0 ]; then if [ $branch != "master" ]; then diff --git a/vim.spec b/vim.spec index 2cf63b1e..3a7c338c 100644 --- a/vim.spec +++ b/vim.spec @@ -24,7 +24,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 @@ -766,6 +766,9 @@ update-desktop-database &> /dev/null ||: %{_datadir}/icons/locolor/*/apps/* %changelog +* Fri Dec 15 2017 Zdenek Dohnal - 8.0.1389-2 +- fixing vim-update.sh + * Wed Dec 13 2017 Karsten Hopp 8.0.1389-1 - patchlevel 1389