From 8669bbe232a041de265271b599993297e304bea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 7 Apr 2005 20:59:51 +0000 Subject: [PATCH] RPM/libtool: .la files with wrong path! New feature: library libmrwlog4cxxconfiguration configures log4cxx --- mrw-c++.spec.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/mrw-c++.spec.in b/mrw-c++.spec.in index 8ac5daf..1848ef4 100644 --- a/mrw-c++.spec.in +++ b/mrw-c++.spec.in @@ -9,6 +9,10 @@ ## @license LGPL, see file COPYING ## ## $Log$ +## Revision 1.11 2005/04/07 20:59:51 marc +## RPM/libtool: .la files with wrong path! +## New feature: library libmrwlog4cxxconfiguration configures log4cxx +## ## Revision 1.10 2005/03/11 23:29:31 marc ## - new autofunctiontrace library ## - new multithreaded package @@ -77,6 +81,7 @@ make %install make install +find "$RPM_BUILD_ROOT" -name '*.la' | xargs perl -pi -e 's#'"${RPM_BUILD_ROOT//+/\\+}"'##g' %clean rm -rf $RPM_BUILD_ROOT @@ -95,6 +100,9 @@ rm -rf $RPM_BUILD_ROOT /usr/lib/libmrwautofunctiontracelog4cxx.so /usr/lib/libmrwautofunctiontracelog4cxx.so.@MAJOR@ /usr/lib/libmrwautofunctiontracelog4cxx.so.@MAJOR@.@MINOR@.@LEAST@ +/usr/lib/libmrwlog4cxxconfiguration.so +/usr/lib/libmrwlog4cxxconfiguration.so.@MAJOR@ +/usr/lib/libmrwlog4cxxconfiguration.so.@MAJOR@.@MINOR@.@LEAST@ /usr/share/doc/packages/@PACKAGENAME@/COPYING /usr/share/doc/packages/@PACKAGENAME@/README /usr/share/doc/packages/@PACKAGENAME@/AUTHORS @@ -126,6 +134,9 @@ This Package contains thread safe libraries. /usr/lib/libmrwautofunctiontracelog4cxx-mt.so /usr/lib/libmrwautofunctiontracelog4cxx-mt.so.@MAJOR@ /usr/lib/libmrwautofunctiontracelog4cxx-mt.so.@MAJOR@.@MINOR@.@LEAST@ +/usr/lib/libmrwlog4cxxconfiguration-mt.so +/usr/lib/libmrwlog4cxxconfiguration-mt.so.@MAJOR@ +/usr/lib/libmrwlog4cxxconfiguration-mt.so.@MAJOR@.@MINOR@.@LEAST@ %package devel Summary: MRW's C++ Class Library (development files) @@ -153,10 +164,14 @@ This Package contains all files required for developement. /usr/lib/libmrwautofunctiontracelog4cxx-mt.la /usr/lib/libmrwautofunctiontracelog4cxx.a /usr/lib/libmrwautofunctiontracelog4cxx.la +/usr/lib/libmrwlog4cxxconfiguration.a +/usr/lib/libmrwlog4cxxconfiguration.la /usr/lib/libmrwexclog4cxx-mt.a /usr/lib/libmrwexclog4cxx-mt.la /usr/lib/libmrwexcstderr-mt.a /usr/lib/libmrwexcstderr-mt.la +/usr/lib/libmrwlog4cxxconfiguration-mt.a +/usr/lib/libmrwlog4cxxconfiguration-mt.la /usr/include /usr/share/doc/packages/@PACKAGENAME@/examples /usr/share/doc/packages/@PACKAGENAME@/doc