Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #69222 > unrolled thread
| Started by | Michael Torrie <torriem@gmail.com> |
|---|---|
| First post | 2014-03-27 15:45 -0600 |
| Last post | 2014-03-28 19:21 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: CentOS 6.5 / SPEC file Michael Torrie <torriem@gmail.com> - 2014-03-27 15:45 -0600
Re: CentOS 6.5 / SPEC file Bernd Waterkamp <Bernd-Waterkamp@web.de> - 2014-03-28 19:21 +0100
| From | Michael Torrie <torriem@gmail.com> |
|---|---|
| Date | 2014-03-27 15:45 -0600 |
| Subject | Re: CentOS 6.5 / SPEC file |
| Message-ID | <mailman.8638.1395956736.18130.python-list@python.org> |
On 03/27/2014 03:26 PM, Michael Torrie wrote:
> On 03/27/2014 02:02 PM, Devin wrote:
>> 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.
>
> Try changing BuildPrereq to BuildRequires.
>
> Also what I'd do is grab a SRPM for python3 from, say Fedora 18 or 19,
> and drop in the newer tarball and see how it goes.
I should add, that the only correct way to package Python 3 on RHEL 6 is
by making the package called "python3" or something that won't collide
with the system Python 2.x package. Python (2.x) is a required package
on RHEL and if you replace it with Python 3 you'll see just about
everything cease to function.
[toc] | [next] | [standalone]
| From | Bernd Waterkamp <Bernd-Waterkamp@web.de> |
|---|---|
| Date | 2014-03-28 19:21 +0100 |
| Message-ID | <wno7m3nipf5f$.pyoiklcbglsx.dlg@40tude.net> |
| In reply to | #69222 |
Michael Torrie schrieb: > I should add, that the only correct way to package Python 3 on RHEL 6 is > by making the package called "python3" or something that won't collide > with the system Python 2.x package. Another option for Fedora and RHEL6: Software Collections http://developerblog.redhat.com/2014/02/18/migrate-to-python3-w-rhscl/ https://fedorahosted.org/SoftwareCollections/
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web