delete the setup lines for Source1 & 2

This commit is contained in:
Trevor Batley 2023-06-15 15:04:11 +10:00
parent f50cfc1ca7
commit 913c24a33f

View File

@ -281,6 +281,7 @@ sed -i "/%description/i Provides: $SOURCEPKG" "$TARGETPKG.spec"
if [[ $TARGETPKG == "smeserver-grub" ]] ; then
sed -i '/^Source1:/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"
fi
if [[ $TARGETPKG == "smeserver-lib" ]] ; then