Hi,
I am new to fpm and have created a sample rpm for a python package using:
fpm -s python -t rpm --python-bin python2.7 --python-easyinstall easy_install-2.7 requests
But I failed to install it:
[vagrant@localhost ~]$ rpm -ivh python-requests-2.18.4-1.noarch.rpm
error: Failed dependencies:
python-certifi >= 2017.4.17 is needed by python-requests-2.18.4-1.noarch
python-chardet >= 3.0.2 is needed by python-requests-2.18.4-1.noarch
python-idna >= 2.5 is needed by python-requests-2.18.4-1.noarch
python-idna < 2.7 is needed by python-requests-2.18.4-1.noarch
python-urllib3 >= 1.21.1 is needed by python-requests-2.18.4-1.noarch
python-urllib3 < 1.23 is needed by python-requests-2.18.4-1.noarch
Since it is tedious and error prone to include all dependencies and their versions, is a way for fpm automatically package the dependencies into the rpm? Thanks for any help!