Accepting request 32883 from devel:libraries:c_c++

Copy from devel:libraries:c_c++/libaio based on submit request 32883 from user coolo

OBS-URL: https://build.opensuse.org/request/show/32883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libaio?expand=0&rev=12
This commit is contained in:
OBS User autobuild 2010-02-18 16:18:16 +00:00 committed by Git OBS Bridge
commit df5582b2e5
2 changed files with 8 additions and 1 deletions

View File

@ -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 Sat Jan 23 14:32:58 CET 2010 - jengelh@medozas.de

View File

@ -28,7 +28,7 @@ Obsoletes: libaio-64bit
%endif %endif
# #
Version: 0.3.107 Version: 0.3.107
Release: 1 Release: 2
Summary: Linux-Native Asynchronous I/O Access Library Summary: Linux-Native Asynchronous I/O Access Library
Source: libaio-%{version}.tar.bz2 Source: libaio-%{version}.tar.bz2
Source2: baselibs.conf Source2: baselibs.conf
@ -89,6 +89,8 @@ rm -f "%buildroot/%_libdir"/*.a
# Strip dumb /usr/src/... off # Strip dumb /usr/src/... off
t=$(readlink -f "%buildroot/%_lib/libaio.so.1") t=$(readlink -f "%buildroot/%_lib/libaio.so.1")
ln -fs "${t##*/}" "%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 %post -p /sbin/ldconfig