From 06425b316eb88e9abf184d4ad00569680e8d4034db93c10f5225c27ee182a2c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 28 Nov 2011 09:51:57 +0000 Subject: [PATCH] Accepting request 93907 from home:oertel:branches:openSUSE:Factory - fix lib64 platform check OBS-URL: https://build.opensuse.org/request/show/93907 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libaio?expand=0&rev=15 --- libaio.changes | 5 +++++ libaio.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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