create-mkspec.sh: Fix packaging regex

create-mkspec.sh puts all paths matching "make" into devel packages,
fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2014-07-21 11:44:35 +00:00
commit f53bb0ecff

View file

@ -115,9 +115,9 @@ _cat << EOT
|echo "> \$INSTALL_LOG"
|echo "make install"
|echo "cat \$INSTALL_LOG | sed \"s% \\\$RPM_BUILD_ROOT% %\" | "
|echo " grep -ve '/include/.*.h\$\|devel\|/lib.*\.a\$\|make' | sort -u > \$INSTALL_LOG.\$NAME-run"
|echo " grep -ve '/include/.*.h\$\|devel\|/lib.*\.a\$\|/make\(/\|$\)' | sort -u > \$INSTALL_LOG.\$NAME-run"
|echo "cat \$INSTALL_LOG | sed \"s% \\\$RPM_BUILD_ROOT% %\" | "
|echo " grep -e '/include/.*.h\$\|devel\|/lib.*\.a\$\|make' | sort -u > \$INSTALL_LOG.\$NAME-devel"
|echo " grep -e '/include/.*.h\$\|devel\|/lib.*\.a\$\|/make\(/\|$\)' | sort -u > \$INSTALL_LOG.\$NAME-devel"
|echo ""
EOT
value global.subpackages | grep -q run && _cat << EOT