Browse Source

vim change to powerel bz and remove file triggers

Signed-off-by: basebuilder_pel7ppc64bebuilder0 <basebuilder@powerel.org>
master
basebuilder_pel7ppc64bebuilder0 6 years ago
parent
commit
80925da612
  1. 16
      SPECS/vim.spec

16
SPECS/vim.spec

@ -297,8 +297,8 @@ perl -pi -e "s/vimrc/virc/" os_unix.h @@ -297,8 +297,8 @@ perl -pi -e "s/vimrc/virc/" os_unix.h
%endif
--disable-pythoninterp --disable-perlinterp --disable-tclinterp \
--with-tlib=ncurses --enable-gui=no --disable-gpm --exec-prefix=/ \
--with-compiledby="<bugzilla@redhat.com>" \
--with-modified-by="<bugzilla@redhat.com>" \
--with-compiledby="<bugzilla@powerel.org>" \
--with-modified-by="<bugzilla@powerel.org>" \
--enable-fail-if-missing

make VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/%{vimdir} %{?_smp_mflags}
@ -321,8 +321,8 @@ mv -f ex_cmds.c.save ex_cmds.c @@ -321,8 +321,8 @@ mv -f ex_cmds.c.save ex_cmds.c
--enable-xim --enable-multibyte \
--with-tlib=ncurses \
--enable-gtk3-check --enable-gui=gtk3 \
--with-compiledby="<bugzilla@redhat.com>" --enable-cscope \
--with-modified-by="<bugzilla@redhat.com>" \
--with-compiledby="<bugzilla@powerel.org>" --enable-cscope \
--with-modified-by="<bugzilla@powerel.org>" \
%if "%{withnetbeans}" == "1"
--enable-netbeans \
%else
@ -534,8 +534,8 @@ install -p -m644 %{SOURCE5} %{buildroot}/%{_sysconfdir}/vimrc @@ -534,8 +534,8 @@ install -p -m644 %{SOURCE5} %{buildroot}/%{_sysconfdir}/vimrc

# if Vim isn't built for Fedora, use redhat augroup
%if 0%{?rhel} >= 7
sed -i -e "s/augroup fedora/augroup redhat/" %{buildroot}/%{_sysconfdir}/vimrc
sed -i -e "s/augroup fedora/augroup redhat/" %{buildroot}/%{_sysconfdir}/virc
sed -i -e "s/augroup fedora/augroup powerel/" %{buildroot}/%{_sysconfdir}/vimrc
sed -i -e "s/augroup fedora/augroup powerel/" %{buildroot}/%{_sysconfdir}/virc
%endif

mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d/
@ -581,10 +581,10 @@ echo ".so man1/vi.1" > %{buildroot}/%{_mandir}/man5/virc.5 @@ -581,10 +581,10 @@ echo ".so man1/vi.1" > %{buildroot}/%{_mandir}/man5/virc.5
touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags

# Refresh documentation helptags
%transfiletriggerin common -- %{_datadir}/%{name}/vimfiles/doc
#%transfiletriggerin common -- %{_datadir}/%{name}/vimfiles/doc
%{_bindir}/vim -c ":helptags %{_datadir}/%{name}/vimfiles/doc" -c :q &> /dev/null || :

%transfiletriggerpostun common -- %{_datadir}/%{name}/vimfiles/doc
#%transfiletriggerpostun common -- %{_datadir}/%{name}/vimfiles/doc
> %{_datadir}/%{name}/vimfiles/doc/tags || :
%{_bindir}/vim -c ":helptags %{_datadir}/%{name}/vimfiles/doc" -c :q &> /dev/null || :


Loading…
Cancel
Save