package specific changes from make prep
This commit is contained in:
parent
bf8e39046a
commit
988513d86b
@ -530,6 +530,17 @@ if [[ "$NAME" =~ ^(smeserver-|e-smith-).* ]]; then
|
|||||||
# sed - TBD - to look for "fix [SME: ]"
|
# sed - TBD - to look for "fix [SME: ]"
|
||||||
sed -i 's/fix \[SME: \]/Roll up patches and move to git repo \[SME: 12338\]/' $(basename $SPECFILE)
|
sed -i 's/fix \[SME: \]/Roll up patches and move to git repo \[SME: 12338\]/' $(basename $SPECFILE)
|
||||||
sed -i 's/ME MYSELF <myemail@koozali.org>/cvs2git.sh aka Brian Read <brianr@koozali.org>/' $(basename $SPECFILE)
|
sed -i 's/ME MYSELF <myemail@koozali.org>/cvs2git.sh aka Brian Read <brianr@koozali.org>/' $(basename $SPECFILE)
|
||||||
|
# package specific changes needed because we use make prep to create the root tree
|
||||||
|
if [[ $NAME == "e-smith-grub" ]] ; then
|
||||||
|
sed -i '/^Source1:/d' $(basename $SPECFILE)
|
||||||
|
sed -i '/^Source2:/d' $(basename $SPECFILE)
|
||||||
|
sed -i '/^%setup/{n;N;N;N;d}' $(basename $SPECFILE)
|
||||||
|
sed -i '/\[SME: 12338\]/a - Remove Source1 & Source2 \[SME: 12338\]' $(basename $SPECFILE)
|
||||||
|
fi
|
||||||
|
if [[ $NAME == "e-smith-lib" ]] ; then
|
||||||
|
sed -i '/mkdir *e-smith-lib-update/d' $(basename $SPECFILE)
|
||||||
|
sed -i '/\[SME: 12338\]/a - Remove create e-smith-lib-update event \[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)
|
||||||
|
Loading…
Reference in New Issue
Block a user