exclude no need .pyc files

Signed-off-by: small_leek <xiasenlin1@huawei.com>
(cherry picked from commit da47c8eab0bc93ddae283372831ccc79b2af18de)
This commit is contained in:
small_leek 2023-08-19 02:38:00 +00:00 committed by openeuler-sync-bot
parent 994b4493f8
commit 28013e0221

View File

@ -2,7 +2,6 @@
%global _debugsource_template %{nil} %global _debugsource_template %{nil}
%endif %endif
%global commit e1ac69b17da0c6d4f5e34e686690ff70c6a43e6f %global commit e1ac69b17da0c6d4f5e34e686690ff70c6a43e6f
#%global with_check 1
Name: gn Name: gn
Version: 1.0.0 Version: 1.0.0
@ -78,11 +77,9 @@ 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
#%if 0%{?with_check}
%check %check
out/gn_unittests out/gn_unittests
rm -rf %{buildroot}%{_datadir}/vim/vimfiles/__pycache__ rm -rf %{buildroot}%{_datadir}/vim/vimfiles/__pycache__
#%endif
%files %files