diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index d53078a..a419d7d 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -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 /rename-e-smith-pkg.sh by Trevor Batley /' "$TARGETPKG.spec" # - add PROVIDES: smeserver- -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"