Ticket #32 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Add python-setuptools as Requires in specfile

Reported by: http://heffer.id.fedoraproject.org/ Owned by: https://thomasvs.myopenid.com/
Priority: major Milestone: 0.1.2
Component: morituri Version: master
Keywords: Cc:

Description

python-setuptools needs to be added as Requires in the specfile. Otherwise morituri might fail with the following error:

[felix@triton Rips]$ rip cd -d /dev/sr1 rip -o 48
Checking device /dev/sr1
Traceback (most recent call last):

File "/usr/bin/rip", line 35, in <module>

sys.exit(main.main(sys.argv[1:]))

File "/usr/lib/python2.6/site-packages/morituri/rip/main.py", line 12, in main

ret = c.parse(argv)

File "/usr/lib/python2.6/site-packages/morituri/extern/command/command.py", line 329, in parse

return self.subCommands[command].parse(args[1:])

File "/usr/lib/python2.6/site-packages/morituri/extern/command/command.py", line 329, in parse

return self.subCommands[command].parse(args[1:])

File "/usr/lib/python2.6/site-packages/morituri/extern/command/command.py", line 300, in parse

ret = self.do(args)

File "/usr/lib/python2.6/site-packages/morituri/rip/cd.py", line 99, in do

from pkg_resources import parse_version as V

ImportError?: No module named pkg_resources

Change History

comment:1 Changed 3 years ago by http://heffer.id.fedoraproject.org/

  • Status changed from new to closed
  • Resolution set to duplicate

comment:2 Changed 3 years ago by thomas

  • Resolution changed from duplicate to fixed

(In [408]) * morituri.spec.in:

Add requires for python-setuptools since we use parse_version.
Fixes #32.

Note: See TracTickets for help on using tickets.