Use find -delete for brevity and safety.
This commit is contained in:
parent
4b910a31a7
commit
3b6c1d9171
|
@ -75,7 +75,7 @@ rmdir %{buildroot}%{_datadir}/menhir
|
||||||
|
|
||||||
# Remove demo files we do not want to ship
|
# Remove demo files we do not want to ship
|
||||||
find demos -name _build -exec rm -fr {} \+
|
find demos -name _build -exec rm -fr {} \+
|
||||||
find demos \( -name .merlin -o -name .gitignore \) -exec rm {} \+
|
find demos \( -name .merlin -o -name .gitignore \) -delete
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CHANGES.md README.md doc/manual.pdf demos
|
%doc CHANGES.md README.md doc/manual.pdf demos
|
||||||
|
|
Loading…
Reference in New Issue