|
|
Choosing A Webhost: |
CVS update of libmysequoia (libmysequoia.spec): msg#00212db.carob.cvs
Date: Monday, January 30, 2006 @ 19:39:36 Author: csaba Path: /cvsroot/carob/libmysequoia Modified: libmysequoia.spec (1.2 -> 1.3) Added post install/uninstall scripts. -------------------+ libmysequoia.spec | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) Index: libmysequoia/libmysequoia.spec diff -u libmysequoia/libmysequoia.spec:1.2 libmysequoia/libmysequoia.spec:1.3 --- libmysequoia/libmysequoia.spec:1.2 Mon Jan 30 12:09:18 2006 +++ libmysequoia/libmysequoia.spec Mon Jan 30 19:39:36 2006 @@ -9,10 +9,10 @@ Packager: Csaba Simon <csaba.simon-NAAfj4rwCWC8rjiVs5Nzzw@xxxxxxxxxxxxxxxx> Url: http://continuent.org/ -Source: %name-%version.tar.gz +Source: %{name}-%{version}.tar.gz -Prefix: %_prefix -BuildRoot: %_tmppath/%name-%version-root +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Reimplementation of libmysqlclient library, using Carob to benefit from @@ -22,7 +22,7 @@ %package devel Summary: Native MySQL API using Sequoia, static libraries Group: Development/Libraries -Requires: %name = %version +Requires: %{name} = %{version} %description devel Reimplementation of libmysqlclient library, using Carob to benefit from @@ -46,6 +46,20 @@ %clean rm -rf $RPM_BUILD_ROOT +%post +/sbin/ldconfig + +cd /usr/lib/mysql +ln -sf /usr/lib/%{name}.so.0.0.0 libmysqlclient.so +ln -sf /usr/lib/%{name}.so.0.0.0 libmysqlclient.so.14 + +%postun +cd /usr/lib/mysql +ln -sf libmysqlclient.so.14.0.0 libmysqlclient.so +ln -sf libmysqlclient.so.14.0.0 libmysqlclient.so.14 + +/sbin/ldconfig + %files %defattr(-,root,root,755) %attr(755,root,root) %prefix/lib/lib*.so*
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of carob/include (ParameterStatement.hpp Statement.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of carob/src (Common.cpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of carob/include (ParameterStatement.hpp Statement.hpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of libmysequoia/src (Makefile.am), csaba-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|