fedora-python / pyp2rpm

Tool to convert a package from PyPI to RPM SPECFILE or to generate SRPM.
MIT License
128 stars 39 forks source link

BuildRequires: python2-setuptools for epel7 template on Fedora #119

Open brianjmurrell opened 7 years ago

brianjmurrell commented 7 years ago

Am I supposed to be able to use pyp2rpm on a Fedora host, specifying the epel7 template and then use that specfile on EL7 to build a package? This seems like a useful use-case.

In any case, when I do this, the resulting template has:

BuildRequires:  python2-setuptools

But on EL7 the package is actually still python-setuptools.

nkadel commented 5 years ago

The "BuildRequires: python2-setuptools" is resolved by the "python-setuptools" package on RHEL 7. Don't worry about that one. A lot of other packages do not have Provides: set up this way, which is why EPEL is publishing a lot of "python2-" packages as simple wrappers for the "python-" packages.