Change-Id: Iee890fcf90e4091165489093f6d601630988fe3c
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
cp %{SOURCE1001} .
%build
-%reconfigure
-./configure --prefix=/ \
- --bindir=%{_bindir} \
- --sbindir=%{_sbindir} \
- --libdir=%{_libdir} \
- --mandir=%{_mandir} \
- --includedir=%{_includedir} \
- --sysconfdir=%{_sysconfdir} \
- --docdir=/unwanted \
- --disable-static \
- --disable-w-from \
- --disable-kill \
- --disable-rpath
-
+%reconfigure --prefix=/ \
+ --exec-prefix=/ \
+ --docdir=/unwanted \
+ --disable-static \
+ --disable-w-from \
+ --disable-kill \
+ --disable-rpath
make CFLAGS="%{optflags}"
-
-
%if %{tests_enabled}
%check
make check