legacy bugs link
This commit is contained in:
parent
79d8a3cf3b
commit
7081caa7ff
@ -212,8 +212,14 @@ cd $GITFiles/$TARGETPKG
|
|||||||
|
|
||||||
#Update README.md
|
#Update README.md
|
||||||
# - new name
|
# - new name
|
||||||
# - Bugzilla link to new name whilst keeping old link for Legacy
|
|
||||||
sed -i 's/e-smith/smeserver/g' README.md
|
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
|
git add README.md
|
||||||
|
|
||||||
#Update Makefile
|
#Update Makefile
|
||||||
@ -228,7 +234,6 @@ mv "$SOURCEPKG.spec" "$TARGETPKG.spec"
|
|||||||
|
|
||||||
#Update smeserver-<pkg>.spec
|
#Update smeserver-<pkg>.spec
|
||||||
# - change name to smeserver-<pkg> (%define name)
|
# - change name to smeserver-<pkg> (%define name)
|
||||||
|
|
||||||
sed -i "s/^%define name.*$SOURCEPKG/%define name $TARGETPKG/" "$TARGETPKG.spec"
|
sed -i "s/^%define name.*$SOURCEPKG/%define name $TARGETPKG/" "$TARGETPKG.spec"
|
||||||
|
|
||||||
# - change all Requires: and BuildRequires: e-smith* to smeserver*
|
# - change all Requires: and BuildRequires: e-smith* to smeserver*
|
||||||
|
Loading…
Reference in New Issue
Block a user