From: Warren Young Date: August 3 2007 4:52pm Subject: Re: problem installing mysql++ devel with RPMs on CentOS 5 List-Archive: http://lists.mysql.com/plusplus/6873 Message-Id: <46B35D58.9060207@etr-usa.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080001060401000108010504" --------------080001060401000108010504 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Brandon Gauthier wrote: > > Isn't the convention a '-' there? I don't have mysql++=2.3.2-1 I have > mysql++-2.3.2-1 I'm pretty sure its just a typo when the rpm was made, > the - and = are right next to each other on the keyboard. Well yes, the bug is in the spec file, but no, that's not it. The syntax for that line is just wrong. The BuildRequires line above it has a related problem, too. It's kind of surprising that it's lasted this long. It makes me wonder who's been downloading all those RPMs and then not using them, because they are in fact unusable. I don't know that I will make another 2.x release, so while waiting for v3, the simplest thing would be to fix it yourself: $ patch -p0 < spec-requires.patch $ ./bootstrap [any configure script options here] $ su -c 'make rpm' --------------080001060401000108010504 Content-Type: text/plain; name="spec-requires.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="spec-requires.patch" Index: mysql++.spec.in =================================================================== --- mysql++.spec.in (revision 1727) +++ mysql++.spec.in (working copy) @@ -7,7 +7,7 @@ URL: http://tangentsoft.net/mysql++/ Source0: http://tangentsoft.net/mysql++/releases/mysql++-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -BuildRequires: MySQL-shared mysql-devel +BuildRequires: MySQL-shared, mysql-devel %description MySQL++ makes working with MySQL server queries as easy as working @@ -18,7 +18,7 @@ %package devel Summary: MySQL++ developer files (headers, examples, etc.) Group: Development/Libraries -Requires: mysql++-%{version}-%{release} mysql-devel +Requires: mysql++ = %{version}-%{release}, mysql-devel %description devel These are the files needed to compile MySQL++ based programs, plus --------------080001060401000108010504--