Bug 13369 - sendmail won't build w/o sendmail installed
sendmail won't build w/o sendmail installed
Product: Red Hat Linux
Classification: Retired
Component: sendmail (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Florian La Roche
Depends On:
  Show dependency treegraph
Reported: 2000-07-03 16:00 EDT by Seth Vidal
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-07-03 16:00:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Seth Vidal 2000-07-03 16:00:32 EDT
Sendmail won't build unless sendmail is already installed.

its just a bug in the spec file - that calls makemap w/o an explicit path.

apply this patch:
--- sendmail.spec~	Thu Feb 17 17:50:13 2000
+++ sendmail.spec	Mon Jul  3 15:56:58 2000
@@ -185,11 +185,11 @@
     touch $RPM_BUILD_ROOT/etc/mail/${map}
     chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}
-    makemap hash $RPM_BUILD_ROOT/etc/mail/${map}.db <
+   $RPM_BUILD_ROOT/usr/sbin/makemap hash
$RPM_BUILD_ROOT/etc/mail/${map}.db < $RPM_BUILD_ROOT/etc/mail/${map}
     chmod 0644 $RPM_BUILD_ROOT/etc/mail/${map}.db
 install -m644 %{SOURCE3} $RPM_BUILD_ROOT/etc/aliases
-makemap hash $RPM_BUILD_ROOT/etc/aliases.db < %{SOURCE3}
+$RPM_BUILD_ROOT/usr/sbin/makemap hash $RPM_BUILD_ROOT/etc/aliases.db <
 install -m644 %SOURCE4 $RPM_BUILD_ROOT/etc/sysconfig/sendmail
 install -m755 %SOURCE1 $RPM_BUILD_ROOT/etc/rc.d/init.d/sendmail

That should fix it.

Note You need to log in before you can comment on or make changes to this bug.