563cc5 Move %postInstall to %posttrans

1 file Authored by Petr Lautrbach 5 months ago, Committed by zpytela 5 months ago,
    Move %postInstall to %posttrans
    
    If policy update removes a module, %postInstall and therefore policy
    rebuild - `semodule -B -n ...` was run when old module is still
    installed, see
    https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#ordering
    It resulted to state when the old module is still built in the policy
    after update until another `semodule -B` is triggered.
    
    Moving %postInstall to %posttrans should solve this problem
    
    [skip changelog]
    
        
file modified
+2 -2