Explorar el Código

fix rpmtool path

Ralf S. Engelschall hace 24 años
padre
commit
dc33e38d9f
Se han modificado 2 ficheros con 8 adiciones y 8 borrados
  1. 3 3
      gup/gup.spec
  2. 5 5
      jitterbug/jitterbug.spec

+ 3 - 3
gup/gup.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EXP]
 Group:        Converter
 License:      Public Domain
 Version:      0.5.8
-Release:      20020315
+Release:      20020625
 
 #   list of sources
 Source0:      ftp://ftp.debian.org/debian/pool/main/g/gup/gup_%{version}.tar.gz
@@ -105,7 +105,7 @@ AutoReqProv:  no
         gup="$gup -a $RPM_INSTALL_PREFIX/var/inn/db/active"
         gup="$gup -n $RPM_INSTALL_PREFIX/var/inn/db/newsgroups"
         echo "gup: \"|$gup\"" |\
-        $RPM_INSTALL_PREFIX/sbin/rpmtool config \
+        $RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
             -a -i "$RPM_INSTALL_PREFIX:gup" $aliases_file
     fi
     if [ ".$update_command" != . ]; then
@@ -116,7 +116,7 @@ AutoReqProv:  no
     aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query mta_aliases_file`
     update_command=`$RPM_INSTALL_PREFIX/etc/rc --query mta_aliases_update`
     if [ ".$aliases_file" != . ]; then
-        $RPM_INSTALL_PREFIX/sbin/rpmtool config \
+        $RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
             -r -i "$RPM_INSTALL_PREFIX:gup" $aliases_file
     fi
     if [ ".$update_command" != . ]; then

+ 5 - 5
jitterbug/jitterbug.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EXP]
 Group:        Database
 License:      GPL
 Version:      1.6.2.3
-Release:      20020425
+Release:      20020625
 
 #   list of sources
 Source0:      ossp-jitterbug-%{version}.tar.gz
@@ -117,7 +117,7 @@ AutoReqProv:  no
             ( echo "bugdb: \"|$RPM_INSTALL_PREFIX/bin/jitterbug-mail bugdb-guest\""
               echo "owner-bugdb: postmaster"
             ) |\
-            $RPM_INSTALL_PREFIX/sbin/rpmtool config \
+            $RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
                 -a -i "$RPM_INSTALL_PREFIX:jitterbug" $aliases_file
             if [ ".$update_command" != . ]; then
                 eval $update_command
@@ -131,7 +131,7 @@ AutoReqProv:  no
               echo "    AllowOverride all"
               echo "</Directory>"
             ) |\
-            $RPM_INSTALL_PREFIX/sbin/rpmtool config \
+            $RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
                 -a -i "$RPM_INSTALL_PREFIX:jitterbug" $apacheconf
         fi
     fi
@@ -142,7 +142,7 @@ AutoReqProv:  no
         aliases_file=`$RPM_INSTALL_PREFIX/etc/rc --query mta_aliases_file`
         update_command=`$RPM_INSTALL_PREFIX/etc/rc --query mta_aliases_update`
         if [ ".$aliases_file" != . ]; then
-            $RPM_INSTALL_PREFIX/sbin/rpmtool config \
+            $RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
                 -r -i "$RPM_INSTALL_PREFIX:jitterbug" $aliases_file
             if [ ".$update_command" != . ]; then
                 eval $update_command
@@ -151,7 +151,7 @@ AutoReqProv:  no
         #   remove hook from Apache configuration
         apacheconf="$RPM_INSTALL_PREFIX/etc/apache/apache.conf"
         if [ -f $apacheconf ]; then
-            $RPM_INSTALL_PREFIX/sbin/rpmtool config \
+            $RPM_INSTALL_PREFIX/lib/openpkg/rpmtool config \
                 -r -i "$RPM_INSTALL_PREFIX:jitterbug" $apacheconf
         fi
     fi