List:MySQL++« Previous MessageNext Message »
From:James Vanns Date:March 2 2007 5:22pm
Subject:Re: RPM packaging and library versioning.
View as plain text  
Just a heads up really but when building the spec file use the redhat defined macros 'n'
stuff such as %{_libdir} so it won't break on 64bit machines ;) I've had this already!

Jim

----- Original Message -----
From: "Remi Collet" <Liste@stripped>
To: plusplus@stripped
Sent: 02 March 2007 17:13:07 o'clock (GMT) Europe/London
Subject: RPM packaging and library versioning.

I'm working on the RPM packaging of MySQL++ (for Fedora)

In the provided specfile we can see

   ...
   mv $LIBDIR/*.so $LIBDIR/libmysqlpp.so.%{version}
   ...
   ln -sf /usr/lib/libmysqlpp.so.%{version} /usr/lib/libmysqlpp.so


But this is not useful as the shared library is not build with -soname flag.

More, this should use the ABI version, not the source version as this is
used to detect ABI changes (which require a rebuild).

I think ABI version is 2.0.0, according to
http://tangentsoft.net/mysql++/doc/userman/html/breakages.html

I'm searching a way to enable this using bakefile but i don't really
find useful documentation on this.

Can you point me to some good sources ?

Of course, i could make a patch for Makefile.in, but i really think it's
not a good solution.

I also really think this should be take upstream, so i'd like to make a
patch proposal of my work.

Regards

-- 
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:    http://lists.mysql.com/plusplus?unsub=1



-- 
James Vanns
Systems Programmer
Framestore CFC Ltd.

Thread
RPM packaging and library versioning.Remi Collet2 Mar
  • Re: RPM packaging and library versioning.James Vanns2 Mar