fixing vim-update.sh
This commit is contained in:
parent
7bad9cb40e
commit
0c733d9f6d
@ -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
|
||||
|
5
vim.spec
5
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 <zdohnal@redhat.com> - 8.0.1389-2
|
||||
- fixing vim-update.sh
|
||||
|
||||
* Wed Dec 13 2017 Karsten Hopp <karsten@redhat.com> 8.0.1389-1
|
||||
- patchlevel 1389
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user