Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!novso.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'error:': 0.07; 'python3': 0.07; 'subject:file': 0.07; 'exit': 0.09; 'skip:% 20': 0.09; 'spec': 0.09; 'python': 0.11; 'add,': 0.16; 'cease': 0.16; 'errors:': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'tarball': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'header:User-Agent:1': 0.23; 'error': 0.23; '2.x': 0.24; 'package.': 0.24; 'replace': 0.24; 'skip:% 10': 0.24; 'regardless': 0.24; 'header:In-Reply-To:1': 0.27; 'correct': 0.29; 'michael': 0.29; 'appreciated.': 0.29; 'newer': 0.30; 'fedora': 0.31; 'file': 0.32; 'maybe': 0.34; "i'd": 0.34; 'something': 0.35; 'there': 0.35; 'version': 0.36; 'should': 0.36; 'changing': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'bad': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'how': 0.40; 'subject: / ': 0.60; "you'll": 0.62; 'making': 0.63; 'grab': 0.64; 'more': 0.64; 'rpm': 0.91 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Thu, 27 Mar 2014 15:45:29 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131118 Thunderbird/17.0.11 MIME-Version: 1.0 To: python-list@python.org Subject: Re: CentOS 6.5 / SPEC file References: <53349787.3080301@gmail.com> In-Reply-To: <53349787.3080301@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 27 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1395956736 news.xs4all.nl 2913 [2001:888:2000:d::a6]:43059 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69222 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.