Check for config.h (currently not generated).
[yaz-moved-to-github.git] / yaz.spec
index 8e5e7f1..fdf8c6c 100644 (file)
--- a/yaz.spec
+++ b/yaz.spec
@@ -21,12 +21,12 @@ Retrieval.
 %build
 
 CFLAGS="$RPM_OPT_FLAGS" \
- ./configure --prefix=$RPM_BUILD_ROOT/usr --enable-yc --enable-tcpd
+ ./configure --prefix=/usr --enable-yc --enable-tcpd
 make CFLAGS="$RPM_OPT_FLAGS"
 
 %install
 rm -fr $RPM_BUILD_ROOT
-make install
+make prefix=$RPM_BUILD_ROOT/usr install
 
 %files
 %defattr(-,root,root)