SPECS: fcron.spec - pass --with-editor

qboosh qboosh at pld-linux.org
Mon Jan 22 00:58:40 CET 2007


Author: qboosh                       Date: Sun Jan 21 23:58:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass --with-editor

---- Files affected:
SPECS:
   fcron.spec (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SPECS/fcron.spec
diff -u SPECS/fcron.spec:1.40 SPECS/fcron.spec:1.41
--- SPECS/fcron.spec:1.40	Fri Jan 19 14:00:16 2007
+++ SPECS/fcron.spec	Mon Jan 22 00:58:35 2007
@@ -1,9 +1,4 @@
 # $Revision$, $Date$
-#
-# TODO: 
-# - if not vi editor installed, configure macro doesn't pass correctly. 
-#   We sholud run %%{configure} --with-editor=<default_editor_path>. Any ideas?
-#
 Summary:	A periodical command scheduler which aims at replacing Vixie Cron
 Summary(pl):	Serwer okresowego uruchamiania poleceń zastępujący Vixie Crona
 Name:		fcron
@@ -24,6 +19,8 @@
 Patch0:		%{name}-mail_output_only_if_there_is_output.patch
 Patch1:		%{name}-configure.patch
 URL:		http://fcron.free.fr/
+# configure tests -x (check can be removed, just like sendmail)
+BuildRequires:	/bin/vi
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	libselinux-devel
@@ -87,9 +84,10 @@
 	--with-pam=yes \
 	--with-selinux=yes \
 	--with-boot-install=no \
-#	--with-editor=/usr/bin/vim
+	--with-editor=/bin/vi
 
-%{__make} OPTION="%{rpmcflags}"
+%{__make} \
+	OPTION="%{rpmcflags}"
 
 echo "#!/bin/sh" > script/user-group
 
@@ -291,6 +289,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.41  2007/01/21 23:58:35  qboosh
+- pass --with-editor
+
 Revision 1.40  2007/01/19 13:00:16  lisu
 - 3.0.2
 - TODO added
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fcron.spec?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list