[Bug 426692] New: [openSUSE:Tools/osc] RPM requirement on python is not precise enough
https://bugzilla.novell.com/show_bug.cgi?id=426692 Summary: [openSUSE:Tools/osc] RPM requirement on python is not precise enough Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: adrian@novell.com ReportedBy: archie@dellroad.org QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Due to a misconfiguration on my part, I realized that the RPM requirements of 'osc' are insufficiently precise. The osc package requires "python" without qualification (via a requirement for "/usr/bin/python"), but it installs files under e.g., /usr/lib/python2.5 (openSUSE_11.0), or /usr/lib/python2.6 (openSUSE_Factory), etc. This makes it possible to install "osc" with the wrong version of python, causing it to fail to run like this: $ osc up Traceback (most recent call last): File "/usr/bin/osc", line 7, in <module> from osc import commandline ImportError: No module named osc Can we add this to the osc.spec? Requires: %{python_sitelib} Or, what is the best way to solve this problem? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com