diff --git a/libaio.changes b/libaio.changes index ac2f8ea..05198ac 100644 --- a/libaio.changes +++ b/libaio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 28 01:36:31 CET 2011 - ro@suse.de + +- fix lib64 platform check + ------------------------------------------------------------------- Wed Oct 5 12:13:40 UTC 2011 - uli@suse.com diff --git a/libaio.spec b/libaio.spec index b1b6711..d6ee04c 100644 --- a/libaio.spec +++ b/libaio.spec @@ -79,7 +79,7 @@ make %{?_smp_mflags} CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" %install make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib} -%ifarch x86_64 ppc64 sparc64 +%if "%_lib" == "lib64" mv "%buildroot/usr/lib" "%buildroot/usr/lib64" %endif rm -f "%buildroot/%_libdir"/*.a