Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #69216 > unrolled thread

CentOS 6.5 / SPEC file

Started byDevin <delldudedevin@gmail.com>
First post2014-03-27 13:02 -0700
Last post2014-03-27 13:02 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  CentOS 6.5 / SPEC file Devin <delldudedevin@gmail.com> - 2014-03-27 13:02 -0700

#69216 — CentOS 6.5 / SPEC file

FromDevin <delldudedevin@gmail.com>
Date2014-03-27 13:02 -0700
SubjectCentOS 6.5 / SPEC file
Message-ID<mailman.8631.1395950577.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

I have been trying to compile an RPM manually using the SPEC file that is
contained in the source tarball from Python.org's website. I have tried
multiple versions and they all seem to fail. I have tried the latest 3.4.0
release, 3.3.5 release, and 3.2.5 release. It appears the SPEC file
contained in the Misc/RPM directory is broken.

I am seeing the error:

+ '[' '!' -z 2.6 ']'
+ cd /builddir/build/BUILDROOT/python2.6-3.3.5-1pydotorg.x86_64/usr/bin
+ mv pydoc pydoc.old
mv: cannot stat `pydoc': No such file or directory
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.yqWO6C (%install)
    line 71: buildprereq is deprecated: BuildPrereq: expat-devel
    line 72: buildprereq is deprecated: BuildPrereq: db4-devel
    line 73: buildprereq is deprecated: BuildPrereq: gdbm-devel
    line 74: buildprereq is deprecated: BuildPrereq: sqlite-devel
    line 91: prereq is deprecated: Prereq: python2.6 = %{PACKAGE_VERSION}
    line 122: prereq is deprecated: Prereq: python2.6 =
%{PACKAGE_VERSION}-1pydotorg
    Bad exit status from /var/tmp/rpm-tmp.yqWO6C (%install)

It seems to give me this error regardless of what version of Python I am
trying. Is there a good website that contains maybe a more correct version
of the SPEC file for CentOS 6.x? Any help would be greatly appreciated.

Devin Acosta

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web