RPM: simplify make install rule
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 19 Mar 2013 11:19:48 +0000 (12:19 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 19 Mar 2013 11:19:48 +0000 (12:19 +0100)
yazpp.spec

index d78b489..cd813fc 100644 (file)
@@ -45,8 +45,7 @@ make CFLAGS="$RPM_OPT_FLAGS"
 
 %install
 rm -fr ${RPM_BUILD_ROOT}
-make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \
-       libdir=${RPM_BUILD_ROOT}/%{_libdir} install
+make install DESTDIR=${RPM_BUILD_ROOT}
 rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
 
 %clean