Issue #3339
Updated by ttereshc almost 7 years ago
Rich dependencies are also called boolean dependencies.
Docs to get familiar with the syntax: http://rpm.org/user_doc/boolean_dependencies.html
At the moment Pulp supports only strong dependencies (aka Requires), "weak dependencies":http://rpm.org/user_doc/dependencies.html are not supported yet.
For testing purposes create at least one rpm with rich dependencies and a repo. Consider contributing to the "pulp-fixtures":https://github.com/PulpQE/pulp-fixtures/ to create a repo.
Example of creating a simple RPM: https://www.redhat.com/archives/rpm-list/2006-April/msg00015.html
Make sure sync, upload, publish of such package works, information about rich dependencies is listed correctly as other simple dependencies, depsolving for simple dependencies works as before and rich dependencies are just ignored in that case (depsolving for rich dependencies will be implemented later in a separate RFE).
Use @rpm@ module to read all the dependencies. There is no need to parse them or process somehow for this RFE.