Browse code

- updated rh rpm spec

Andrei Pelinescu-Onciul authored on 25/09/2002 22:40:38
Showing 1 changed files
... ...
@@ -44,6 +44,7 @@ entries.
44 44
 
45 45
 %build
46 46
 make all exclude_modules="%exclude" cfg-target=/%{_sysconfdir}/ser/
47
+make modules modules=modules/mysql cfg-target=/%{_sysconfdir}/ser/
47 48
 cd utils/gen_ha1
48 49
 make
49 50
 
... ...
@@ -61,9 +62,16 @@ make install cfg-prefix=$RPM_BUILD_ROOT/%{_sysconfdir} \
61 62
 	     doc-dir=ser/ \
62 63
 	     man-prefix=$RPM_BUILD_ROOT/%{_mandir} \
63 64
 	     man-dir="" \
64
-		 cfg-target=/%{_sysconfdir}/ser/ \
65
-		 modules-target=/%{_libdir}/ser/modules/ \
65
+	     cfg-target=/%{_sysconfdir}/ser/ \
66
+	     modules-target=/%{_libdir}/ser/modules/ \
66 67
 	     exclude_modules="%exclude"
68
+make install-modules modules=modules/mysql \
69
+	    modules-prefix=$RPM_BUILD_ROOT/%{_libdir}/ser \
70
+	    modules-dir=modules/ \
71
+	    doc-prefix=$RPM_BUILD_ROOT/%{_docdir} \
72
+	    doc-dir=ser/ \
73
+	    cfg-target=/%{_sysconfdir}/ser/ \
74
+	    modules-target=/%{_libdir}/ser/modules/ 
67 75
 
68 76
 mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/rc.d/init.d
69 77
 install -m755 $RPM_SOURCE_DIR/ser.init \
... ...
@@ -109,8 +117,6 @@ fi
109 117
 %dir %{_libdir}/ser/modules
110 118
 %{_libdir}/ser/modules/acc.so
111 119
 %{_libdir}/ser/modules/auth.so
112
-%{_libdir}/ser/modules/cpl.so
113
-%{_libdir}/ser/modules/ext.so
114 120
 %{_libdir}/ser/modules/im.so
115 121
 %{_libdir}/ser/modules/jabber.so
116 122
 %{_libdir}/ser/modules/maxfwd.so