update summary and description in specfile
This commit is contained in:
parent
ab4fe843e4
commit
e189fd1b5d
@ -247,8 +247,10 @@ git add Makefile
|
||||
git mv "$SOURCEPKG.spec" "$TARGETPKG.spec"
|
||||
|
||||
#Update smeserver-<pkg>.spec
|
||||
# - change name to smeserver-<pkg> (%define name)
|
||||
# - change name to smeserver-<pkg>
|
||||
sed -i "/^Summary:/ s/e-smith/smeserver/" "$TARGETPKG.spec"
|
||||
sed -i "s/^%define name.*$SOURCEPKG/%define name $TARGETPKG/" "$TARGETPKG.spec"
|
||||
sed -i "/^%description/{ n; s/e-smith/smeserver/}" "$TARGETPKG.spec"
|
||||
|
||||
# - change all Requires: and BuildRequires: e-smith* to smeserver*
|
||||
sed -i 's/^Requires:.*e-smith/Requires: smeserver/g' "$TARGETPKG.spec"
|
||||
|
Loading…
Reference in New Issue
Block a user