Browse Source

ninja-build specifify rpm macro folder

Signed-off-by: basebuilder_pel7x64builder0 <basebuilder@powerel.org>
master
basebuilder_pel7x64builder0 6 years ago
parent
commit
61f4758812
  1. 4
      SPECS/ninja-build.spec

4
SPECS/ninja-build.spec

@ -49,7 +49,7 @@ install -Dpm0644 misc/ninja-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/ninj
install -Dpm0644 misc/ninja.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/ninja.vim install -Dpm0644 misc/ninja.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/ninja.vim
install -Dpm0644 %{S:1} %{buildroot}%{_datadir}/vim/vimfiles/ftdetect/ninja.vim install -Dpm0644 %{S:1} %{buildroot}%{_datadir}/vim/vimfiles/ftdetect/ninja.vim
install -Dpm0644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja install -Dpm0644 misc/zsh-completion %{buildroot}%{_datadir}/zsh/site-functions/_ninja
install -Dpm0644 %{S:2} %{buildroot}%{rpmmacrodir}/macros.ninja install -Dpm0644 %{S:2} %{buildroot}/usr/lib/rpm/macros.d/macros.ninja


%check %check
./ninja_test ./ninja_test
@ -64,7 +64,7 @@ install -Dpm0644 %{S:2} %{buildroot}%{rpmmacrodir}/macros.ninja
%{_datadir}/vim/vimfiles/ftdetect/ninja.vim %{_datadir}/vim/vimfiles/ftdetect/ninja.vim
# zsh does not have a -filesystem package # zsh does not have a -filesystem package
%{_datadir}/zsh/ %{_datadir}/zsh/
%{rpmmacrodir}/macros.ninja /usr/lib/rpm/macros.d/macros.ninja


%changelog %changelog
* Sat Dec 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.2-2 * Sat Dec 03 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.7.2-2

Loading…
Cancel
Save