delete the setup lines for Source1 & 2
This commit is contained in:
parent
f50cfc1ca7
commit
913c24a33f
@ -281,6 +281,7 @@ sed -i "/%description/i Provides: $SOURCEPKG" "$TARGETPKG.spec"
|
|||||||
if [[ $TARGETPKG == "smeserver-grub" ]] ; then
|
if [[ $TARGETPKG == "smeserver-grub" ]] ; then
|
||||||
sed -i '/^Source1:/d' "$TARGETPKG.spec"
|
sed -i '/^Source1:/d' "$TARGETPKG.spec"
|
||||||
sed -i '/^Source2:/d' "$TARGETPKG.spec"
|
sed -i '/^Source2:/d' "$TARGETPKG.spec"
|
||||||
|
sed -e '/^%setup/{n;N;N;N;d}'
|
||||||
sed -i '/\[SME: 12359\]/a - Remove Source1 & Source2' "$TARGETPKG.spec"
|
sed -i '/\[SME: 12359\]/a - Remove Source1 & Source2' "$TARGETPKG.spec"
|
||||||
fi
|
fi
|
||||||
if [[ $TARGETPKG == "smeserver-lib" ]] ; then
|
if [[ $TARGETPKG == "smeserver-lib" ]] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user