fedora-python / pyp2rpm

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

Add option for SPECS directory #35

Closed hroncok closed 8 years ago

hroncok commented 8 years ago

Please add an option to save the output directly to ~/rpmbuild/SPECS/%{name}.spec. So instead of:

pyp2rpm foo > ~/rpmbuild/SPECS/python-foo.spec

I could just run:

pyp2rpm -S foo

(Or different switch.)