release-engineering / ubi-population-tool

A tool for populating UBI repositories.
GNU General Public License v3.0
3 stars 14 forks source link

Conditional creation of install_requires of rpm distribution #114

Closed rbikar closed 5 years ago

rbikar commented 5 years ago

This commit adds conditional creation of install_requires list in setup.py for rpm distribution. If rpm-py-installer was added there unconditionally, rpm of ubipop couldn't be installed on some envs. If implemented this way there is no need to change anything in .spec file for rpm builds.

This fix is based on rpm-py-installer docs: See Q6 in FAQ -> https://github.com/junaruga/rpm-py-installer/blob/master/docs/users_guide.md

rbikar commented 5 years ago

This requires #115 for passing travis CI.

rbikar commented 5 years ago

Rebased on #115, I'll carry over +1s

rbikar commented 5 years ago

ok test