!6 [sync] PR-5: exclude no need .pyc files
From: @openeuler-sync-bot Reviewed-by: @li-yancheng Signed-off-by: @li-yancheng
This commit is contained in:
commit
b2a1e60f85
8
gn.spec
8
gn.spec
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: gn
|
Name: gn
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Meta-build system that generates build files for Ninja
|
Summary: Meta-build system that generates build files for Ninja
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://gn.googlesource.com/gn
|
URL: https://gn.googlesource.com/gn
|
||||||
@ -77,7 +77,6 @@ install -t '%{buildroot}%{_emacs_sitestartdir}' -D -p -m 0644 misc/emacs/*.el
|
|||||||
|
|
||||||
install -t '%{buildroot}%{_mandir}/man1' -D -m 0644 -p out/gn.1
|
install -t '%{buildroot}%{_mandir}/man1' -D -m 0644 -p out/gn.1
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
out/gn_unittests
|
out/gn_unittests
|
||||||
rm -rf %{buildroot}%{_datadir}/vim/vimfiles/__pycache__
|
rm -rf %{buildroot}%{_datadir}/vim/vimfiles/__pycache__
|
||||||
@ -93,6 +92,8 @@ rm -rf %{buildroot}%{_datadir}/vim/vimfiles/__pycache__
|
|||||||
%{_datadir}/vim/vimfiles/ftplugin/gn.vim
|
%{_datadir}/vim/vimfiles/ftplugin/gn.vim
|
||||||
%{_datadir}/vim/vimfiles/syntax/gn.vim
|
%{_datadir}/vim/vimfiles/syntax/gn.vim
|
||||||
%{_emacs_sitestartdir}/gn-mode.el
|
%{_emacs_sitestartdir}/gn-mode.el
|
||||||
|
%exclude %{_datadir}/vim/vimfiles/__pycache__
|
||||||
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%license LICENSE src/base/third_party/icu/README.chromium
|
%license LICENSE src/base/third_party/icu/README.chromium
|
||||||
@ -106,6 +107,9 @@ rm -rf %{buildroot}%{_datadir}/vim/vimfiles/__pycache__
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 19 2023 senlin <xiasenlin1@huawei.com> - 1.0.0-4
|
||||||
|
- exclude no need .pyc files
|
||||||
|
|
||||||
* Mon Mar 13 2023 misaka00251 <liuxin@iscas.ac.cn> - 1.0.0-3
|
* Mon Mar 13 2023 misaka00251 <liuxin@iscas.ac.cn> - 1.0.0-3
|
||||||
- Add risc-v and loongarch support
|
- Add risc-v and loongarch support
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user