From 5cf5ed12784ca49a4ae9a8cb7ce6297bc85801d7 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Sat, 24 Jun 2023 16:54:17 +1000 Subject: [PATCH] wap Requires from e-smith to e-smith-base --- git-cvs2git.sh | 4 ++++ 1 file changed, 4 insertions(+) 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)