Changes of Revision 4
[-] | Changed | hiredis.spec |
1
2 %__make 3 4 %install 5 -%__make PREFIX=%{buildroot}%{_prefix} install 6 +%__make PREFIX=%{buildroot}%{_prefix} LIB=%{_lib} install 7 8 %clean 9 rm -rf %{buildroot} 10 |
||
[+] | Changed | hiredis-makefile.patch ^ |
@@ -1,15 +1,10 @@ --- Makefile.orig 2014-03-23 13:41:55.468444169 +0100 -+++ Makefile 2014-03-23 13:43:44.728122626 +0100 -@@ -118,9 +118,14 @@ - $(CC) -MM *.c ++++ Makefile 2014-03-23 13:58:32.805704948 +0100 +@@ -119,8 +119,9 @@ # Installation related variables and target -+ifeq ($(uname_m),x86_64) -+ LIB=lib64 -+else -+ LIB=lib -+endif PREFIX?=/usr/local ++LIB?=lib INSTALL_INCLUDE_PATH= $(PREFIX)/include/hiredis -INSTALL_LIBRARY_PATH= $(PREFIX)/lib +INSTALL_LIBRARY_PATH= $(PREFIX)/$(LIB) |