rpms/moomps/devel .cvsignore, 1.6, 1.7 moomps.spec, 1.9, 1.10 sources, 1.6, 1.7

Jean-Luc Fontaine (jfontain) fedora-extras-commits at redhat.com
Tue Mar 7 02:37:09 UTC 2006


Author: jfontain

Update of /cvs/extras/rpms/moomps/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23866

Modified Files:
	.cvsignore moomps.spec sources 
Log Message:
- 5.5 upstream release
- in post installation stage, fix moodss modules path
- use fedora-useradd instead of useradd



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/moomps/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	22 Jan 2006 16:35:23 -0000	1.6
+++ .cvsignore	7 Mar 2006 02:37:09 -0000	1.7
@@ -1 +1,2 @@
 moomps-5.4.tar.bz2
+moomps-5.5.tar.bz2


Index: moomps.spec
===================================================================
RCS file: /cvs/extras/rpms/moomps/devel/moomps.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- moomps.spec	15 Feb 2006 19:44:36 -0000	1.9
+++ moomps.spec	7 Mar 2006 02:37:09 -0000	1.10
@@ -1,19 +1,19 @@
 Name: moomps
-Version: 5.4
-Release: 2%{?dist}
+Version: 5.5
+Release: 1%{?dist}
 Summary: Powerful modular monitoring service
 Group: Applications/System
 License: GPL
-Source0: http://download.sourceforge.net/moodss/moomps-5.4.tar.bz2
+Source0: http://download.sourceforge.net/moodss/moomps-5.5.tar.bz2
 URL: http://moodss.sourceforge.net/
 BuildArchitectures: noarch
 BuildRoot: %_tmppath/%name-%version-%release-root-%(%__id_u -n)
 BuildRequires: tcl >= 8.4.7
-Requires(pre): %_sbindir/useradd, %_sbindir/usermod
+Requires(pre): fedora-usermgmt >= 0.8
 Requires(preun): /sbin/chkconfig, /sbin/service
 Requires(post): /sbin/chkconfig
 Requires(postun): /sbin/service
-Requires: moodss >= 21.0, tclx >= 8.3
+Requires: moodss >= 21.1, tclx >= 8.3
 
 %description
 moomps (Modular Object Oriented Multi-Purpose Service) is a modular
@@ -38,8 +38,8 @@
 %pre
 # if not present, add moomps user (even when upgrading):
 if ! %_sbindir/usermod -l moomps moomps 2>/dev/null; then
-    %_sbindir/useradd -r moomps -d /srv/moomps -c 'service companion to moodss'\
-        -s '/sbin/nologin'
+    %_sbindir/fedora-useradd 23 -r -d /srv/moomps\
+        -c 'service companion to moodss' -s '/sbin/nologin' moomps
 fi
 
 %preun
@@ -50,6 +50,10 @@
 fi
 
 %post
+# fix moodss modules path (useful on x86_64 architecture):
+sed\
+    -e 's,lappend auto_path /usr/lib/moodss,lappend auto_path %_libdir/moodss,'\
+    -i %_sbindir/moomps
 if [ $1 -eq 1 ]; then                                               # installing
     chkconfig --add moomps
 fi
@@ -77,6 +81,10 @@
 
 
 %changelog
+* Sun Feb 12 2006 Jean-Luc Fontaine <jfontain at free.fr> 5.5-1
+- 5.5 upstream release
+- in post installation stage, fix moodss modules path
+- use fedora-useradd instead of useradd
 
 * Wed Feb 15 2006 Jean-Luc Fontaine <jfontain at free.fr> 5.4-2
 - rebuild for Fedora Extras 5


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/moomps/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	22 Jan 2006 16:35:23 -0000	1.6
+++ sources	7 Mar 2006 02:37:09 -0000	1.7
@@ -1 +1,2 @@
 37045d89b50a78f5f6f445cc4d897c62  moomps-5.4.tar.bz2
+249a456d2db2dbc5ed95f31d926d063d  moomps-5.5.tar.bz2




More information about the fedora-extras-commits mailing list