Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=574586
Adrien Kunysz adk@acunu.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adk@acunu.com
--- Comment #6 from Adrien Kunysz adk@acunu.com 2012-01-09 08:05:54 EST --- It seems that spec file cannot be processed properly when python26 is not installed:
$ rpmbuild -bp SPECS/python26-psycopg2.spec sh: /usr/bin/python2.6: No such file or directory error: Macro %pyver has empty body sh: /usr/bin/python2.6: No such file or directory sh: /usr/bin/python2.6: No such file or directory sh: /usr/bin/python2.6: No such file or directory sh: /usr/bin/python2.6: No such file or directory sh: /usr/bin/python2.6: No such file or directory sh: /usr/bin/python2.6: No such file or directory sh: /usr/bin/python2.6: No such file or directory error: Failed build dependencies: python26-devel is needed by python26-psycopg2-2.0.14-2.x86_64 postgresql-devel is needed by python26-psycopg2-2.0.14-2.x86_64
The "error: Failed build dependencies" is expected but as far as I can tell, the "sh: /usr/bin/python2.6: No such file or directory" and "error: Macro %pyver has empty body" should not happen.
Otherwise it seems to work fine.