Overview
Request 560084 accepted
- Revert last change: reconfigure_post_* does not know a -n
parameter, which in turn results in warnings (rpm < 4.14) or
errors (rpm >= 4.14).
> reconfigure_fonts_post: invalid option -- 'n'
> error: Unknown option n in reconfigure_fonts_post(c)
From /etc/rpm/macros.fonts-config, only reconfigure_fonts_scriptlets knows a -n parameter.
Request History
dimstar created request
- Revert last change: reconfigure_post_* does not know a -n
parameter, which in turn results in warnings (rpm < 4.14) or
errors (rpm >= 4.14).
> reconfigure_fonts_post: invalid option -- 'n'
> error: Unknown option n in reconfigure_fonts_post(c)
From /etc/rpm/macros.fonts-config, only reconfigure_fonts_scriptlets knows a -n parameter.
jsmeix accepted request
revert is the right thing to get at least a package back that installs without errors
@WernerFink, @jengelh, @jsmeix, @scarabeus_iv: review reminder
As far as I see reverting using the -n option for the reconfigure_fonts scriptlets contradicts what is requested in https://bugzilla.suse.com/show_bug.cgi?id=1067213
Then you only have the option of expanding the reconfigure_fonts macro to understand -n; as it is now: it is broken way more than it was before
ok - read a bit more in that bug - the request there is basically not to use %%reconfigure_fonts_posttrans, but %reconfigure_fonts_scriptlets, which in turn knows a -n parameter
but then, that does not much more than expand to what you had before, namely to:
imho - revert is the right thing to get at least a package back that installs without errors - and re-evaluating for a proper fix in a 2nd step