2521f06 Use %make_install instead of DESTDIR=%{buildroot}

Authored and Committed by anoopcs 8 years ago
1 file changed. 1 lines added. 1 lines removed.
    Use %make_install instead of DESTDIR=%{buildroot}
    
    Taking into account the following lines from fedora guidelines for creating
    an RPM package[1]:
    
    "Ideally you should use %make_install which is equivalent to
    DESTDIR=%{buildroot} if the program supports it, as it redirects
    file installations to the specified directory and is exactly
    what we want to happen during the %install section."
    
    [1] https://fedoraproject.org/wiki/How_to_create_an_RPM_package#.25install_section
    
    Signed-off-by: Anoop C S <anoopcs@redhat.com>
    
        
file modified
+1 -1