]> git.pld-linux.org Git - packages/apcupsd.git/blobdiff - apcupsd.spec
copy am files in build (after BR is filled), enable verbose build
[packages/apcupsd.git] / apcupsd.spec
index 5409d5b225c5cb50eea580eaec5c446283467da6..138d5e66a2e6812e63bf1d1920e7897fa7b38255 100644 (file)
@@ -91,10 +91,10 @@ serwera NIS. Status każdego UPS-a przedstawia ikona.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-for i in configure.in aclocal.m4 config.h.in; do install autoconf/$i .;done
-cp -f %{_datadir}/automake/config.sub autoconf
 
 %build
+for i in configure.in aclocal.m4 config.h.in; do install autoconf/$i .;done
+cp -f %{_datadir}/automake/config.sub autoconf
 %{__autoconf}
 %configure \
        APCUPSD_MAIL="/bin/mail" \
@@ -107,14 +107,13 @@ cp -f %{_datadir}/automake/config.sub autoconf
        --with-cgi-bin=/home/services/httpd/cgi-bin \
 %endif
        %{?with_test:--enable-test} \
-%if %{with net}
-       --enable-net \
-%endif
+       %{?with_net:--enable-net} \
        %{?with_gapcmon:--enable-gapcmon} \
        %{?with_snmp:--enable-snmp} \
        %{?with_usb:--enable-usb}
 
-%{__make}
+%{__make} \
+       VERBOSE=2
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.042221 seconds and 4 git commands to generate.