![](https://seccdn.libravatar.org/avatar/25bbc96d9c53647354cb724e744b2222.jpg?s=120&d=mm&r=g)
On Wed, Nov 10, 2010 at 12:19 PM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 10/11/10 13:40, Greg Freemyer escribió:
On Wed, Nov 10, 2010 at 8:17 AM, Cristian Rodríguez <crrodriguez@opensuse.org> wrote:
El 10/11/10 13:11, Greg Freemyer escribió:
I just ran spec-cleaner on a minor/simple leaf package I maintain.
It did some nice cleanups.
One thing it didn't do and I don't know how to do is handle a mysqlclient problem I have with 64-bit Fedora
My home package: home:gregfreemyer:Weather > open2300 now has the spec-cleaner cleaned spec file
But I still get an error related 64-bit Fedora
/lib/mysql -lmysqlclient /usr/bin/ld: cannot find -lmysqlclient
Do you buildrequire mysql-devel ?
Yes
The specfile works on opensuse (all flavors), Mandriva (all flavors) and Fedora 32-bit, but not Fedora 64-bit.
try the following hack in the spec
sed -i -e s@/usr/lib/mysql@%{_libdir}/mysql@g Makefile
(before running make of course)
Seems to have done the trick. It's clearly a hack, but is it one I can leave in and still push the package to devel / factory? It really only impacts 64-bit fedora. Right now I have the hack in the %build area, but it I put it up in the %prep area it seems as good as any other patch to me. Greg -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org