rpms/conman/FC-4 conman.spec,1.4,1.5

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Fri Jul 28 13:54:52 UTC 2006


Author: jwilson

Update of /cvs/extras/rpms/conman/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29320/FC-4

Modified Files:
	conman.spec 
Log Message:
- Add Reqs on chkconfig and service
- Turn on smp_mflags



Index: conman.spec
===================================================================
RCS file: /cvs/extras/rpms/conman/FC-4/conman.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- conman.spec	5 Jul 2006 20:30:15 -0000	1.4
+++ conman.spec	28 Jul 2006 13:54:51 -0000	1.5
@@ -1,18 +1,22 @@
-Name:		conman
-Version:	0.1.9.2
-Release:	3%{?dist}
-Summary:	ConMan - The Console Manager
-
-Group:		Applications/System
-License:	GPL
-URL:		http://www.llnl.gov/linux/conman/
-Source0:	ftp://ftp.llnl.gov/pub/linux/%{name}/%{name}-%{version}.tar.bz2
-Source1:	%{name}.init
-Source2:	%{name}.logrotate
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Requires:	logrotate
-BuildRequires:	tcp_wrappers
+Name:               conman
+Version:            0.1.9.2
+Release:            4%{?dist}
+Summary:            ConMan - The Console Manager
+
+Group:              Applications/System
+License:            GPL
+URL:                http://www.llnl.gov/linux/conman/
+Source0:            ftp://ftp.llnl.gov/pub/linux/%{name}/%{name}-%{version}.tar.bz2
+Source1:            %{name}.init
+Source2:            %{name}.logrotate
+BuildRoot:          %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires:           logrotate
+Requires(post):     /sbin/chkconfig
+Requires(preun):    /sbin/chkconfig
+Requires(preun):    /sbin/service
+Requires(postun):   /sbin/service
+BuildRequires:      tcp_wrappers
 
 %description
 ConMan is a serial console management program designed to support a large
@@ -42,12 +46,8 @@
 %{__perl} -pi -e 's|-m 755 -s conman|-m 755 conman|g' \
     Makefile.in
 
-# don't run service by default
-%{__perl} -pi -e 's|chkconfig:.*345 95 5|chkconfig: - 95 5|g' \
-    etc/%{name}.init.in
-
 %configure --with-tcp-wrappers
-make
+make %{?smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -98,6 +98,11 @@
 %{_mandir}/*/*
 
 %changelog
+* Fri Jul 28 2006 Jarod Wilson <jwilson at redhat.com> 0.1.9.2-4
+- Add Reqs on chkconfig and service
+- Turn on smp_mflags
+- Initial build for RHEL5
+
 * Wed Jul 05 2006 Jarod Wilson <jwilson at redhat.com> 0.1.9.2-3
 - Add missing condrestart fuction to initscript
 




More information about the fedora-extras-commits mailing list