wap Requires from e-smith to e-smith-base

This commit is contained in:
Trevor Batley 2023-06-24 16:54:17 +10:00
parent 38fa8363e5
commit 5cf5ed1278

View File

@ -543,6 +543,10 @@ if [[ "$NAME" =~ ^(smeserver-|e-smith-).* ]]; then
sed -i '/^%setup/{n;N;d}' $(basename $SPECFILE) sed -i '/^%setup/{n;N;d}' $(basename $SPECFILE)
sed -i '/\[SME: 12338\]/a - Remove create e-smith-lib-update event \[SME: 12338\]' $(basename $SPECFILE) sed -i '/\[SME: 12338\]/a - Remove create e-smith-lib-update event \[SME: 12338\]' $(basename $SPECFILE)
fi fi
if [[ $NAME == "e-smith-oprmssl "]] ; 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 # 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) # 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) # sed -i 's/Release:.*/Release: %autorelease/' $(basename $SPECFILE)