SPECS: apcupsd.spec - don't use autoconf if you replace configure ...

shadzik shadzik at pld-linux.org
Mon Apr 9 21:25:23 CEST 2007


Author: shadzik                      Date: Mon Apr  9 19:25:23 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't use autoconf if you replace configure script anyway
- kill autoconf and automake BRs (automake wasn't even used)
- use configure script which comes with source and don't make much trouble about nothing in %build
  (those all cd here, cd there, cp this, cp -f that were useless)

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

---- Diffs:

================================================================
Index: SPECS/apcupsd.spec
diff -u SPECS/apcupsd.spec:1.79 SPECS/apcupsd.spec:1.80
--- SPECS/apcupsd.spec:1.79	Sat Apr  7 15:53:03 2007
+++ SPECS/apcupsd.spec	Mon Apr  9 21:25:18 2007
@@ -21,8 +21,6 @@
 Source3:	%{name}.sysconfig
 Patch0:		%{name}-configure.patch
 URL:		http://www.apcupsd.com/
-BuildRequires:	autoconf
-BuildRequires:	automake
 %{?with_snmp:BuildRequires:	net-snmp-devel}
 BuildRequires:	rpmbuild(macros) >= 1.268
 Requires(post):	fileutils
@@ -66,12 +64,6 @@
 %patch0 -p1
 
 %build
-cd autoconf
-cp -f /usr/share/automake/config.sub .
-%{__autoconf}
-cp -f configure ..
-cd ..
-
 %configure \
 	--with-log-dir=%{_var}/log \
 	--with-stat-dir=%{_var}/lib/apcupsd \
@@ -161,6 +153,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+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)
+- use configure script which comes with source and don't make much trouble about nothing in %build
+  (those all cd here, cd there, cp this, cp -f that were useless)
+
 Revision 1.79  2007/04/07 13:53:03  rotom
 - up to 3.12.4 by Arkadiusz Machoł
 
================================================================

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



More information about the pld-cvs-commit mailing list