Expand the ignore cases
* perestroika/build-deb.sh & perestroika/build-rpm.sh - Add variable "ignore_list" and use it for expand the ignore cases * Add horizon-vendor-theme to ignores Change-Id: I1c4f81e6a6f404ec71fee38ed9fd1d483a38cb22
This commit is contained in:
parent
3fc822845d
commit
786564b9f6
@ -61,7 +61,8 @@ main () {
|
||||
done
|
||||
# Prepare source tarball
|
||||
pushd $_srcpath &>/dev/null
|
||||
if [ "$PACKAGENAME" == "rally" ]; then
|
||||
local ignore_list="rally horizon-vendor-theme"
|
||||
if [ $(echo $ignore_list | grep -Eo "(^| )$PACKAGENAME( |$)") ]; then
|
||||
# Do not perform `setup.py sdist` for rally packages
|
||||
tar -czf ${BUILDDIR}/$TAR_NAME $EXCLUDES .
|
||||
else
|
||||
|
@ -59,7 +59,8 @@ This package provides the %{-n*} kernel modules
|
||||
sed -i "s|Source0:.*$|Source0: ${TAR_NAME}|" $specfile
|
||||
# Prepare source tarball
|
||||
pushd $_srcpath &>/dev/null
|
||||
if [ "$PACKAGENAME" == "openstack-macros" ]; then
|
||||
local ignore_list="openstack-macros horizon-vendor-theme"
|
||||
if [ $(echo $ignore_list | grep -Eo "(^| )$PACKAGENAME( |$)") ]; then
|
||||
# Do not perform `setup.py sdist` for openstack-macros package
|
||||
tar -czf ${BUILDDIR}/$TAR_NAME $EXCLUDES .
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user