From eb3f28c2038bd8318f47005da9d12d9b3a7cb7e8 Mon Sep 17 00:00:00 2001 From: Jeffrey E. Moyer Date: Jan 20 2009 15:16:41 +0000 Subject: Fix the install to / patch. It didn't put the .so.1 in the right place previously, which resulted in applications not finding the library. --- diff --git a/libaio-install-to-slash.patch b/libaio-install-to-slash.patch index f0a4fa2..fe75cfc 100644 --- a/libaio-install-to-slash.patch +++ b/libaio-install-to-slash.patch @@ -1,6 +1,6 @@ diff -up libaio-0.3.107/src/Makefile.orig libaio-0.3.107/src/Makefile ---- libaio-0.3.107/src/Makefile.orig 2008-09-03 15:57:48.233332354 -0400 -+++ libaio-0.3.107/src/Makefile 2008-09-03 15:58:23.591332705 -0400 +--- libaio-0.3.107/src/Makefile.orig 2009-01-20 10:07:31.520105235 -0500 ++++ libaio-0.3.107/src/Makefile 2009-01-20 10:08:51.199104930 -0500 @@ -1,6 +1,7 @@ prefix=/usr -includedir=$(prefix)/include @@ -23,7 +23,7 @@ diff -up libaio-0.3.107/src/Makefile.orig libaio-0.3.107/src/Makefile + install -D -m 644 libaio.h $(destdir)$(includedir)/libaio.h + install -D -m 644 libaio.a $(destdir)$(usrlibdir)/libaio.a + install -D -m 755 $(libname) $(destdir)$(libdir)/$(libname) -+ ln -sf $(libdir)/$(libname) $(destdir)$(usrlibdir)/$(soname) ++ ln -sf $(libdir)/$(libname) $(destdir)$(libdir)/$(soname) + ln -sf $(libdir)/$(libname) $(destdir)$(usrlibdir)/libaio.so $(libaio_objs): libaio.h diff --git a/libaio.spec b/libaio.spec index 6968467..95de93f 100644 --- a/libaio.spec +++ b/libaio.spec @@ -1,6 +1,6 @@ Name: libaio Version: 0.3.107 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Linux-native asynchronous I/O access library License: LGPLv2+ Group: System Environment/Libraries @@ -73,6 +73,9 @@ make destdir=$RPM_BUILD_ROOT prefix=/ libdir=%{libdir} usrlibdir=%{usrlibdir} \ %attr(0644,root,root) %{_libdir}/libaio.a %changelog +* Tue Jan 20 2009 Jeff Moyer - 0.3.107-7 +- Fix the install to / patch. + * Wed Oct 01 2008 Dennis Gilmore - 0.3.107-6 - add patch with sparc support