remove e-smith-openssh special fix

This commit is contained in:
Trevor Batley 2023-06-25 11:04:14 +10:00
parent afe2c69d3e
commit 27b59de7aa

View File

@ -543,10 +543,6 @@ if [[ "$NAME" =~ ^(smeserver-|e-smith-).* ]]; then
sed -i '/^%setup/{n;N;d}' $(basename $SPECFILE)
sed -i '/\[SME: 12338\]/a - Remove create e-smith-lib-update event \[SME: 12338\]' $(basename $SPECFILE)
fi
if [[ $NAME == "e-smith-openssh" ]] ; then
sed -i '/^Requires:/s/e-smith,/e-smith-base,/' $(basename $SPECFILE)
sed -i '/\[SME: 12338\]/a - Swap Requires from e-smith to e-smith-base \[SME: 12338\]' $(basename $SPECFILE)
fi
# Add in the autochangelog and autorelease macros into the spec file
# Commented out for now until we have build systems that can install the rpmautospec package (CEntos, Rocky etc V9 only so far)
# sed -i 's/Release:.*/Release: %autorelease/' $(basename $SPECFILE)