diff --git a/git-cvs2git.sh b/git-cvs2git.sh index 9bc5674..e2c5b4d 100755 --- a/git-cvs2git.sh +++ b/git-cvs2git.sh @@ -543,6 +543,10 @@ 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-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 # 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)