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
This commit is contained in:
Ismail Dönmez 2011-11-28 09:51:57 +00:00 committed by Git OBS Bridge
parent 6ac0b8a0a3
commit 06425b316e
2 changed files with 6 additions and 1 deletions

View File

@ -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 Wed Oct 5 12:13:40 UTC 2011 - uli@suse.com

View File

@ -79,7 +79,7 @@ make %{?_smp_mflags} CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS"
%install %install
make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib} make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib}
%ifarch x86_64 ppc64 sparc64 %if "%_lib" == "lib64"
mv "%buildroot/usr/lib" "%buildroot/usr/lib64" mv "%buildroot/usr/lib" "%buildroot/usr/lib64"
%endif %endif
rm -f "%buildroot/%_libdir"/*.a rm -f "%buildroot/%_libdir"/*.a