Support newer rpm's which define $RPM_OPT_FLAGS as a set of options
authorDavid Dykstra <dwd@samba.org>
Tue, 1 Dec 1998 16:13:25 +0000 (16:13 +0000)
committerDavid Dykstra <dwd@samba.org>
Tue, 1 Dec 1998 16:13:25 +0000 (16:13 +0000)
separated by spaces.  Suggested by pavel_roskin@geocities.com.

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