diff --git a/libreoffice.spec b/libreoffice.spec index 6d6ca97..3bde5b3 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -1167,7 +1167,7 @@ ICONVERSION=`echo $PRODUCTVERSION | sed -e 's/\.//'` for file in *.desktop; do # rhbz#156677 remove the version from Name= # rhbz#156067 don't version the icons - sed -i -e "s/$PRODUCTVERSION *//g" \ + sed -i -e "s/ *$PRODUCTVERSION//g" \ -e "s/$ICONVERSION//g" \ -e "s/$PRODUCTVERSIONSHORT//g" \ $file