In my spec file I have a %post script to create a .desktop
file using a here doc. It creates the file but the file name has a ^M at
the end, so it doesn’t show up in the menu. My script looks like
this: %post cat <<EOF >
/usr/share/applications/mycompany-myapp.desktop [Desktop Entry] Version=x.y Encoding=UTF-8 Name=MyApp Path=$RPM_INSTALL_PREFIX/myapp … EOF Any ideas why it is adding the ^M? |
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list