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


Groups > comp.lang.python > #69220

Re: CentOS 6.5 / SPEC file

Date 2014-03-27 15:26 -0600
From Michael Torrie <torriem@gmail.com>
Subject Re: CentOS 6.5 / SPEC file
References <CAEctU6pmKni6f1wd31dUggOHLtwXBt=JeZ4G6Uh10+1n8=5_xg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.8635.1395955609.18130.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: CentOS 6.5 / SPEC file Michael Torrie <torriem@gmail.com> - 2014-03-27 15:26 -0600

csiph-web