-
Notifications
You must be signed in to change notification settings - Fork 88
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
PythonRecipe can't modify attributes #145
Comments
Can you show me an example recipe and describe the problem you have in more detail? Thanks! |
Eg I have something like this:
Which will generate rpm where it depends on following:
On distribution I have package "python-crypto" which is pretty much as the the one "python-pycrypto". How to modify dependencies that generated package would depend on python-crypto but not on python-pycrypto? |
@nkts -- might not be what you want, as it means you'll have to specify all dependencies yourself, but maybe: class Ansible < FPM::Cookery::PythonRecipe
name "ansible"
version "2.0.1.0"
fpm_attributes :no_auto_depends? => true
end |
This issue is a bit old, but anyway. There is no other way to do that. Ansible needs to define dependencies with package names used on pypi. This can differ from the package names used in the distributions. This is why you have to provide the dependencies yourself in that case. |
I'm trying to generate rpm package from Python module but I can't modify auto generated dependencies.
The text was updated successfully, but these errors were encountered: