On 26.11.2013 19:55, Kevin Kofler wrote:
Sandro Mani wrote:
[1] http://smani.fedorapeople.org/somepackage.spec
Yeah, that hack looks like it could work, sorta. If you have multiple
subpackages installed, having only one subpackage of the correct version and
the others of wrong versions will still be satisfying the dependency in the
-debuginfo package. (And subpackages do not always require each other, so
you cannot always require on the EVR-locked inter-subpackage Requires.)

         Kevin Kofler

Right. Otherwise, I guess the Conflicts approach suggested by Nicolas could work and also handle such cases? But before all this, there is the current problem that debuginfo packages are only updated when using yum, as pointed out by Michael. If debuginfo packages are not shipped in the standard repos, some other solution is needed. I pointed out an approach which could work:
- Move the debuginfo repo definitions to separate files
- Have a package fedora-release-debug (or similar) install the repo file in /etc/yum.repos.d. The repos would be enabled by default when installed.
- Have all debuginfo packages depend on fedora-release-debug
- (ugly) Have debuginfo-install install the repo file before proceeding as before.

Any thoughts on that?

Sandro
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to