https://bugzilla.suse.com/show_bug.cgi?id=1220818 https://bugzilla.suse.com/show_bug.cgi?id=1220818#c36 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.schreiner@suse.com, | |munix9@googlemail.com --- Comment #36 from Petr Gajdos <pgajdos@suse.com> --- Hi Martin, thanks for your reply. (In reply to Martin Wilck from comment #35)
I see %pretrans only indirectly mentioned in that comment. How exactly did the solution look like?
in 15sp4 trough bug 1122033 $ osc cat SUSE:SLE-15-SP4:Update ImageMagick ImageMagick.spec | grep -A 10 %pretrans in Factory (past) $ osc cat -r 286 openSUSE:Factory/ImageMagick ImageMagick.spec | grep -A 10 %pretrans in graphics/ImageMagick $ osc cat graphics/ImageMagick ImageMagick.spec | grep -A 10 %pretrans The more I think about it: in 2019, the original idea was (perhaps false, yes) to have alternative whole config directory, but I think just policy.xml could be sufficient as it is only file variable across the security policies. We have users (bug 1122033) which want to use alternative security policy and want to switch between them just by installing corresponding package. Perhaps we could provide everything except policy.xml in new /etc/IMagick-7 (or so, /etc/ImageMagick was an u-a link in SLE12 already) inside main ImageMagick package and then /etc/IMagick-7/policy.<policy>.xml in few different subpackages ImageMagick-policy-<policy>. Not completely sure what would do the /etc/IMagick-7/policy.xml link as update-alternatives seem to get abandoned. Perhaps something like 12sp5/apache2? Other ideas welcome -- You are receiving this mail because: You are on the CC list for the bug.