Hide Forgot
the %jpackage_script generates also: # Source user prefs if [ -f $HOME/.LauncherName ] ; then . $HOME/.LauncherName fi Which looks really bad. $XDG_* should be followed. So the correct snippet should be (not tested): XCFG=$XDG_CONFIG_DIR if [ "xXCFG" == "x" ] ; then XCFG=$HOME/.config/.LauncherName else XCFG=$XCFG/.LauncherName fi if [ -f $XCFG ] ; then . $XCFG fi %jpackage_script is an old macro. It was created before XDG spec existed. It would be nice to use standardized location for config files, but I can't just move config file location as it would break user config files. Perhaps a second XDG-compliant location could be added next to existing non-standard config location. Or we could introduce a totally new macro, which would solve this and many of other issues. New macro would allow to migrate packages gradually.
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle. Changing version to '25'.
We decided to go with the new macro. We re tracking it in upstream issue at [1]. Because we don't plan to change %jpackage_script macro, I'll close this bug now. Feel free to comment on the upstream issue (you mentioned "other issues" you had, we're interested in hearing about those). [1] https://github.com/fedora-java/javapackages/issues/9