diff --git a/rename-e-smith-pkg.sh b/rename-e-smith-pkg.sh index 6bc7882..412f762 100755 --- a/rename-e-smith-pkg.sh +++ b/rename-e-smith-pkg.sh @@ -255,6 +255,7 @@ git mv "$SOURCEPKG.spec" "$TARGETPKG.spec" #Update smeserver-.spec # - change name to smeserver- sed -i "/^Summary:/ s/e-smith/smeserver/" "$TARGETPKG.spec" +sed -i "/^Name:/ 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" @@ -274,7 +275,7 @@ sed -i 's/ME MYSELF /rename-e-smith-pkg.sh by Trevor Batley sed -i "/%description/i Provides: $SOURCEPKG" "$TARGETPKG.spec" # - change Source: to new standard of tar.gz -sed -i "/^Source:/ s/tar.xz/tar.gz/" "$TARGETPKG.spec" +#sed -i "/^Source:/ s/tar.xz/tar.gz/" "$TARGETPKG.spec" # tell git about the changes git add "$TARGETPKG.spec"