[hiredis/epel7] Revert macros not supported in EPEL7

Christopher Meng cicku at fedoraproject.org
Sun Feb 1 02:30:05 UTC 2015


commit 364ecdaa175fdfa852c98b6e22e00fdd2c483687
Author: Christopher Meng <i at cicku.me>
Date:   Sun Feb 1 10:26:57 2015 +0800

    Revert macros not supported in EPEL7

 hiredis.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/hiredis.spec b/hiredis.spec
index a759a59..3cc749a 100644
--- a/hiredis.spec
+++ b/hiredis.spec
@@ -23,11 +23,11 @@ developing applications that use %{name}.
 %patch0 -p1
 
 %build
-%make_build PREFIX="%{_prefix}" INSTALL_LIBRARY_PATH="%{_libdir}"     \
+make %{?_smp_mflags} PREFIX="%{_prefix}" INSTALL_LIBRARY_PATH="%{_libdir}"     \
             OPTIMIZATION="%{optflags}" LDFLAGS="%{?__global_ldflags}"
 
 %install
-%make_install PREFIX="%{_prefix}" INSTALL_LIBRARY_PATH="%{_libdir}"
+make install DESTDIR=%{buildroot} PREFIX="%{_prefix}" INSTALL_LIBRARY_PATH="%{_libdir}"
 
 # Generate pkgconfig file manually. It's already mentioned in the upstream 
 # makefile but make install doesn't do and modification needed for %%_libdir.


More information about the scm-commits mailing list