SPECS: apcupsd.spec - fix my last change

shadzik shadzik at pld-linux.org
Tue Apr 10 20:06:44 CEST 2007


Author: shadzik                      Date: Tue Apr 10 18:06:44 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix my last change

---- Files affected:
SPECS:
   apcupsd.spec (1.80 -> 1.81) 

---- Diffs:

================================================================
Index: SPECS/apcupsd.spec
diff -u SPECS/apcupsd.spec:1.80 SPECS/apcupsd.spec:1.81
--- SPECS/apcupsd.spec:1.80	Mon Apr  9 21:25:18 2007
+++ SPECS/apcupsd.spec	Tue Apr 10 20:06:38 2007
@@ -21,6 +21,7 @@
 Source3:	%{name}.sysconfig
 Patch0:		%{name}-configure.patch
 URL:		http://www.apcupsd.com/
+BuildRequires:	autoconf
 %{?with_snmp:BuildRequires:	net-snmp-devel}
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post):	fileutils
@@ -62,8 +63,10 @@
 %prep
 %setup -q
 %patch0 -p1
+for i in configure.in aclocal.m4 config.h.in; do install autoconf/$i .;done
 
 %build
+%{__autoconf}
 %configure \
 	--with-log-dir=%{_var}/log \
 	--with-stat-dir=%{_var}/lib/apcupsd \
@@ -153,6 +156,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.81  2007/04/10 18:06:38  shadzik
+- fix my last change
+
 Revision 1.80  2007/04/09 19:25:18  shadzik
 - don't use autoconf if you replace configure script anyway
 - kill autoconf and automake BRs (automake wasn't even used)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/apcupsd.spec?r1=1.80&r2=1.81&f=u



More information about the pld-cvs-commit mailing list