legacy bugs link

This commit is contained in:
Trevor Batley 2023-05-31 18:13:20 +10:00
parent 79d8a3cf3b
commit 7081caa7ff

View File

@ -212,8 +212,14 @@ cd $GITFiles/$TARGETPKG
#Update README.md
# - new name
# - Bugzilla link to new name whilst keeping old link for Legacy
sed -i 's/e-smith/smeserver/g' README.md
# - Bugzilla link to new name whilst keeping old link for Legacy
sed -i '/Show list/p' README.md
sed -i '/Show list/ s/)/)\\/' README.md
sed -i "/Show list/{ n; s/Show list of outstanding bugs\:/And a list of outstanding Legacy bugs\: \($SOURCEPKG)/}" README.md
sed -i '/Show list/{ n; s/smeserver-/e-smith-/g}' README.md
git add README.md
#Update Makefile
@ -228,7 +234,6 @@ mv "$SOURCEPKG.spec" "$TARGETPKG.spec"
#Update smeserver-<pkg>.spec
# - change name to smeserver-<pkg> (%define name)
sed -i "s/^%define name.*$SOURCEPKG/%define name $TARGETPKG/" "$TARGETPKG.spec"
# - change all Requires: and BuildRequires: e-smith* to smeserver*