>>>> "DPB" == Daniel P Berrangé
<berrange(a)redhat.com> writes:
DPB> How can I get the auto-generated
DPB> libvirt-daemon-driver-libxl-debuginfo RPM to have an "Obsoletes:
DPB> libvirt-daemon-driver-xen-debuginfo < 4.3.0" statement ? It seems
DPB> impossible, meaning users with debuginfo have a broken upgrade
DPB> path.
It's not technically _impossible_; the debuginfo subpackage is generated
using the %_debuginfo_template macro, which gets magically inserted into
the specfile just before %install.
The problem, of course, is that redefining it is a pain and since all of
the subpackages are generated from the one template, you can't
necessarily add something for just one package. Maybe you can with some
nasty conditionals; I haven't checked. If I was in a situation where I
just had to do this, I'd probably do it in Lua.
- J<