diff --git a/vim.spec b/vim.spec index 74180615b7be23ac64a3ec23dc994b71867d8e31..075824c8891c92dc6a79188a61d52434dcdcd4b8 100644 --- a/vim.spec +++ b/vim.spec @@ -1,3 +1,4 @@ +%define anolis_release .0.1 %define patchlevel 629 %if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1} %define WITH_SELINUX 1 @@ -21,7 +22,7 @@ Summary: The VIM editor URL: http://www.vim.org/ Name: vim Version: %{baseversion}.%{patchlevel} -Release: 8%{?dist} +Release: 8%{anolis_release}%{?dist} License: Vim Group: Applications/Editors Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}.tar.bz2 @@ -1523,8 +1524,8 @@ perl -pi -e "s/\/etc\/vimrc/\/etc\/virc/" os_unix.h %endif --disable-pythoninterp --disable-perlinterp --disable-tclinterp \ --with-tlib=tinfo --enable-gui=no --disable-gpm --exec-prefix=/ \ - --with-compiledby="" \ - --with-modified-by="" + --with-compiledby="OpenAnolis Community" \ + --with-modified-by="OpenAnolis Community" make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/%{vimdir} %{?_smp_mflags} cp vim minimal-vim @@ -1540,8 +1541,8 @@ mv -f ex_cmds.c.save ex_cmds.c --enable-xim --enable-multibyte \ --with-tlib=ncurses \ --enable-gtk2-check --enable-gui=gtk2 \ - --with-compiledby="" --enable-cscope \ - --with-modified-by="" \ + --with-compiledby="OpenAnolis Community" --enable-cscope \ + --with-modified-by="OpenAnolis Community" \ %if "%{withnetbeans}" == "1" --enable-netbeans \ %else @@ -1573,9 +1574,9 @@ make clean --disable-tclinterp \ --with-x=no \ --enable-gui=no --exec-prefix=%{_prefix} --enable-multibyte \ - --enable-cscope --with-modified-by="" \ + --enable-cscope --with-modified-by="OpenAnolis Community" \ --with-tlib=ncurses \ - --with-compiledby="" \ + --with-compiledby="OpenAnolis Community" \ %if "%{withnetbeans}" == "1" --enable-netbeans \ %else @@ -1990,6 +1991,10 @@ rm -rf %{buildroot} %{_datadir}/icons/hicolor/*/apps/* %changelog +* Fri Jan 07 2022 yangxianzhao - 2:7.4.629-8.0.1 +- Rebrand to Anolis OS +- Cherry-pick [3172bdc] + * Wed Sep 30 2020 Zdenek Dohnal - 2:7.4.629-8 - 1833186 - gvim consums 100% cpu under certain condition