rpm build: Add support for qla2x00t driver in QLogic git repository

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5929 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2014-12-09 12:33:16 +00:00
parent 0d8b4dce6c
commit c641574046

View File

@@ -383,7 +383,13 @@ fcst_extraclean:
scst-dist-gzip:
name=scst && \
mkdir $${name}-$(VERSION) && \
{ scripts/list-source-files | \
{ if [ -h qla2x00t ] || { mount | grep "on $$PWD/qla2x00t type"; }; \
then \
scripts/list-source-files | grep -v ^qla2x00t/; \
find qla2x00t/ -type f; \
else \
scripts/list-source-files; \
fi | \
grep -E '^doc/|^fcst/|^iscsi-scst/|^Makefile|^qla2x00t/|^scst.spec|^scst/|^scst_local/|^srpt/'|\
tar -T- -cf- | \
tar -C $${name}-$(VERSION) -xf-; } && \