diff --git a/libaio.changes b/libaio.changes index 5cb2822..08e7c4b 100644 --- a/libaio.changes +++ b/libaio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 12 09:57:26 UTC 2010 - jengelh@medozas.de + +- fix more symbolic links to not include a /usr/src/ prefix + ------------------------------------------------------------------- Sat Jan 23 14:32:58 CET 2010 - jengelh@medozas.de diff --git a/libaio.spec b/libaio.spec index 817fe39..fccd001 100644 --- a/libaio.spec +++ b/libaio.spec @@ -28,7 +28,7 @@ Obsoletes: libaio-64bit %endif # Version: 0.3.107 -Release: 1 +Release: 2 Summary: Linux-Native Asynchronous I/O Access Library Source: libaio-%{version}.tar.bz2 Source2: baselibs.conf @@ -89,6 +89,8 @@ rm -f "%buildroot/%_libdir"/*.a # Strip dumb /usr/src/... off t=$(readlink -f "%buildroot/%_lib/libaio.so.1") ln -fs "${t##*/}" "%buildroot/%_lib/libaio.so.1" +t=$(readlink -f "%buildroot/%_libdir/libaio.so") +ln -fs "${t#%buildroot}" "%buildroot/%_libdir/libaio.so" %post -p /sbin/ldconfig