Summary: | Spec current metadata syntax | ||
---|---|---|---|
Product: | pkg-config | Reporter: | Dan Nicholson <dbn.lists> |
Component: | src | Assignee: | Dan Nicholson <dbn.lists> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | nenolod |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 18815, 47996 |
Description
Dan Nicholson
2013-04-20 01:51:12 UTC
If I may interject, I believe a better approach would be to add a new virtual package. Then you can do: Requires: pkgconfig-spec > 1 The current freedesktop implementation and pkgconf allow for multiple Requires: fields, so you can even do: Requires: pkgconfig-spec > 1 [...] In fact, I believe that this is the only possible way to do it, as a conformant implementation at present is required to ignore unsupported fields. So, requiring a specific spec version in the dependency tree will cause the dependency tree to be incomplete, raising an error. (In reply to comment #1) > If I may interject, I believe a better approach would be to add a new > virtual package. > > Then you can do: > > Requires: pkgconfig-spec > 1 > > The current freedesktop implementation and pkgconf allow for multiple > Requires: fields, so you can even do: > > Requires: pkgconfig-spec > 1 > [...] I like that idea, thanks. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pkg-config/pkg-config/issues/37. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.