The attached patch to the uucp.spec file adds the main openpkg executable
directories to the policy.h CMDPATH where things like the postfix rmail
command are found.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Lord, the money we do spend on Government and it's not one bit better
than the government we got for one third the money twenty years ago.''
    Will Rogers
--- uucp.spec.orig      2003-02-09 16:29:40.000000000 -0800
+++ uucp.spec   2003-02-09 16:31:04.000000000 -0800
@@ -33,7 +33,7 @@
 Group:        Communication
 License:      GPL
 Version:      1.06.1
-Release:      20021111
+Release:      20030209
 
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/uucp/uucp-%{version}.tar.gz
@@ -69,6 +69,12 @@
           -e 's;\(sbindir = $(exec_prefix)\)/lib/uucp;\1/sbin;' \
           -e 's;/conf/uucp;/etc/uucp;' \
           Makefile.in
+
+         # include openpkg executables in CMDPATH
+      %{l_shtool} subst \
+               -e '/CMDPATH/s!/usr/local/bin!& %{l_prefix}/bin %{l_prefix}/sbin!' \
+               policy.h
+
       CC="%{l_cc}" \
       CFLAGS="%{l_cflags -O}" \
       ./configure \

Reply via email to