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

Illegal sequence ".." in: Version: 0...1 #42

Closed xsuchy closed 8 years ago

xsuchy commented 8 years ago

If PyPi allow this, we should handle this and change it to something what is accepted by rpm.

LC_ALL=C.UTF-8 pyp2rpm backport_importlib --srpm  -b 2 
INFO  Pyp2rpm initialized.
INFO  Using /home/msuchy/rpmbuild/SOURCES as directory to save source.
INFO  Downloaded package from PyPI: /home/msuchy/rpmbuild/SOURCES/backport_importlib-0...1.tar.gz.
INFO  Getting metadata from PyPI.
INFO  Using default template: fedora.spec.
INFO  Using name: python-backport_importlib.spec for specfile.
INFO  Specfile saved at: /home/msuchy/rpmbuild/SPECS/python-backport_importlib.spec.
INFO  Starting rpmbuild to build: /home/msuchy/rpmbuild/SPECS/python-backport_importlib.spec SRPM.
error: line 5: Illegal sequence ".." in: Version:        0...1
INFO  
INFO  That's all folks!