fixing vim-update.sh

This commit is contained in:
Zdenek Dohnal 2017-12-15 08:31:32 +01:00
parent 7bad9cb40e
commit 0c733d9f6d
2 changed files with 7 additions and 4 deletions

View File

@ -149,11 +149,11 @@ if [ $CHANGES -ne 0 ]; then
# Check if release has pending or testing update - if not, build package # Check if release has pending or testing update - if not, build package
# and submit update for testing # and submit update for testing
pending_update=`bodhi updates query --packages vim --status pending \ #pending_update=`bodhi updates query --packages vim --status pending \
| grep $releases_regexp` # | grep $releases_regexp`
testing_update=`bodhi updates query --packages vim --status testing \ testing_update=`bodhi updates query --packages vim --status testing \
| grep $releases_regexp` | grep $releases_regexp`
if [ "$pending_update" == "" ] && [ "$testing_update" == "" ] && [ $done_build -eq 1 ]; then if [[ "$testing_update" == "" && $done_build -eq 1 ]]; then
fedpkg build fedpkg build
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
if [ $branch != "master" ]; then if [ $branch != "master" ]; then

View File

@ -24,7 +24,7 @@ Summary: The VIM editor
URL: http://www.vim.org/ URL: http://www.vim.org/
Name: vim Name: vim
Version: %{baseversion}.%{patchlevel} Version: %{baseversion}.%{patchlevel}
Release: 1%{?dist} Release: 2%{?dist}
License: Vim License: Vim
Group: Applications/Editors Group: Applications/Editors
Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}-%{patchlevel}.tar.bz2 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/* %{_datadir}/icons/locolor/*/apps/*
%changelog %changelog
* Fri Dec 15 2017 Zdenek Dohnal <zdohnal@redhat.com> - 8.0.1389-2
- fixing vim-update.sh
* Wed Dec 13 2017 Karsten Hopp <karsten@redhat.com> 8.0.1389-1 * Wed Dec 13 2017 Karsten Hopp <karsten@redhat.com> 8.0.1389-1
- patchlevel 1389 - patchlevel 1389