diff --git a/vim-update.sh b/vim-update.sh index 47c665f..e54ad25 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 2cf63b1..3a7c338 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