exclude no need .pyc files
Signed-off-by: small_leek <xiasenlin1@huawei.com> (cherry picked from commit 3f37a0f487a7bc031ce9d3d7cc7ef0969889ba7c)
This commit is contained in:
parent
53fc43eed7
commit
994b4493f8
6
gn.spec
6
gn.spec
@ -2,7 +2,7 @@
|
|||||||
%global _debugsource_template %{nil}
|
%global _debugsource_template %{nil}
|
||||||
%endif
|
%endif
|
||||||
%global commit e1ac69b17da0c6d4f5e34e686690ff70c6a43e6f
|
%global commit e1ac69b17da0c6d4f5e34e686690ff70c6a43e6f
|
||||||
%global with_check 1
|
#%global with_check 1
|
||||||
|
|
||||||
Name: gn
|
Name: gn
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
@ -78,11 +78,11 @@ 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}
|
#%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
|
#%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user