-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Discussion] Non-collection build-time dependencies notation #38
Comments
@khardix Thanks for the proposal.
Can I see the actual RPM spec file that requires
If the new feature solves some problems, basically I am positive to add new feature as optional element in the YAML. At the moment, I have no idea for the place. I want to see the above actual RPM spec file at first.
I can not judge it at the moment. But I think that It is possible. |
Same for rh-mongodb34-mongodb: |
@omron93 thanks for info. That helps me.
Right now I can see below line in the RPM spec file. mongodb.spec
My suggestion is mongodb.yml
|
By the way, I am in vacation from 28th March to 6th April. :) |
Agree. Could be done. Also for future releases it would be better to set this directly in spec. Will it work after this change? Is rebuild tool going to build |
It will not. The rebuild tool simply takes the list of packages specified and builds them in order. Any external dependencies must be satisfied manually.
That is definitely correct and it should be done. The original questions may perhaps be better rephrased as follows: Suppose we knew (from spec, from author of the collection, etc.) that we need to adjust the buildroot (new versions, …) with packages that are NOT officially part of the collection itself. Do we want to record such information in the recipe, and if so, how? Thanks for the insights, keep them coming 👍. |
Some of the collections have build-time dependencies, which are not considered part of the collection and may even be regular, non-SCL packages. However, they still need to be build with the collections, because they are missing from the target platform/distribution.
The concrete example is
rh-mongodb36
, which requires ascons
package in version that is newer than any released in CentOS 7 (which is considered the target platform).The recipe file currently list only a packages that are part of the collection itself. Some of the build dependencies can be included as well (if they are proper SCL packages), but some can not (the
scons
above does not produce package name with the SCL prefix, which confuses the rebuild tool).The purpose of this issue is to discuss what to do with such dependencies. The main questions are:
The text was updated successfully, but these errors were encountered: