Author: glen                         Date: Fri Apr 14 17:40:01 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- sed edit

---- Files affected:
SPECS:
   asa.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/asa.spec
diff -u SPECS/asa.spec:1.19 SPECS/asa.spec:1.20
--- SPECS/asa.spec:1.19 Mon Dec 12 14:44:45 2005
+++ SPECS/asa.spec      Fri Apr 14 19:39:56 2006
@@ -22,6 +22,7 @@
 BuildRequires: rpm-perlprov
 Requires(post):        /usr/bin/perl
 Requires(post,preun):  /sbin/chkconfig
+Requires(post):        sed >= 4.0
 Requires(pre): jabber-common
 Requires:      jabberd >= 1.4
 Requires:      perl-Crypt-SSLeay
@@ -69,7 +70,7 @@
        SECRET=`cat /etc/jabber/secret`
        if [ -n "$SECRET" ] ; then
                echo "Updating component authentication secret in asa.xml..."
-               perl -pi -e "s/>secret</>$SECRET</" /etc/jabber/asa.xml
+               %{__sed} -i -e "s/>secret</>$SECRET</" /etc/jabber/asa.xml
        fi
 fi
 /sbin/chkconfig --add jabber-asa-transport
@@ -104,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2006/04/14 17:39:56  glen
+- sed edit
+
 Revision 1.19  2005/12/12 13:44:45  glen
 - adapterized (sorted %verify attrs)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/asa.spec?r1=1.19&r2=1.20&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to