Support newer rpm's which define $RPM_OPT_FLAGS as a set of options
[rsync/rsync.git] / packaging / redhat / 5.0 / rsync.spec
index f674dd8..30bc1a0 100644 (file)
@@ -58,7 +58,7 @@ previous package(s).)
 
 %build
 ./configure --prefix=/usr
-make CFLAGS=$RPM_OPT_FLAGS
+make "CFLAGS=$RPM_OPT_FLAGS"
 strip rsync
 
 %install