Re: Adding Obsoletes to generated -debuginfo packages ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "DPB" == Daniel P Berrangé <berrange@xxxxxxxxxx> 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<
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux