Move Provides: to before Requires and re-add Requires: and BuildRequires:
This commit is contained in:
parent
bc013d7c5a
commit
4c1c3aa509
@ -266,8 +266,8 @@ sed -i "/^%description/{ n; s/e-smith/smeserver/}" "$TARGETPKG.spec"
|
||||
|
||||
# Hold off on these for now
|
||||
# - change all Requires: and BuildRequires: e-smith* to smeserver*
|
||||
#sed -i 's/^Requires:.*e-smith/Requires: smeserver/g' "$TARGETPKG.spec"
|
||||
#sed -i 's/^BuildRequires:.*e-smith/BuildRequires: smeserver/g' "$TARGETPKG.spec"
|
||||
sed -i 's/^Requires:.*e-smith/Requires: smeserver/g' "$TARGETPKG.spec"
|
||||
sed -i 's/^BuildRequires:.*e-smith/BuildRequires: smeserver/g' "$TARGETPKG.spec"
|
||||
|
||||
# - add changelog entry (Bugzilla #12359)
|
||||
# Bump the release and add changelog
|
||||
@ -277,7 +277,7 @@ sed -i "s/fix \[SME: \]/Rename to $TARGETPKG \[SME: 12359\]/" "$TARGETPKG.spec"
|
||||
sed -i 's/ME MYSELF <myemail@koozali.org>/rename-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au>/' "$TARGETPKG.spec"
|
||||
|
||||
# - add PROVIDES: smeserver-<pkg>
|
||||
sed -i "/%description/i Provides: $SOURCEPKG" "$TARGETPKG.spec"
|
||||
sed -i "/Requires:/i Provides: $SOURCEPKG" "$TARGETPKG.spec"
|
||||
|
||||
# - change Source: to new standard of tar.gz
|
||||
#sed -i "/^Source:/ s/tar.xz/tar.gz/" "$TARGETPKG.spec"
|
||||
|
Loading…
Reference in New Issue
Block a user