Kind request: fix your packages

Stephen Smoogen smoogen at lanl.gov
Wed Oct 1 19:59:02 UTC 2003


Since Red Hat will need to do this through all their spec files anyway,
what will the ways that they will check for dependencies and such in
files in the future. 

Sendmail is a common package that has a lot of dependency code in it
with lines like:


%if %{errata} <= 70
%define sendmailcf usr/lib/sendmail-cf
%else
%define sendmailcf usr/share/sendmail-cf
%endif
 
%if %{errata} >= 72
%define smshell /sbin/nologin
%else
%define smshell /dev/null
%endif
 
There is also code in one RPM I thought that compiles differnetly for
RHEL over RHL and would I am guessing would soon need a check for FC.

Since RH will need to maintain RPMS for RHEL, RHL<9 til Dec 31, and RHL
9 til Apr.. it might be a good idea to come up with a common syntax now
that each of these RPMS could have at the top that would allow for these
sort of defines to be done by the machine it is being built on.

-- 
Stephen John Smoogen		smoogen at lanl.gov
Los Alamos National Lab  CCN-5 Sched 5/40  PH: 4-0645
Ta-03 SM-1498 MailStop B255 DP 10S  Los Alamos, NM 87545
-- So shines a good deed in a weary world. = Willy Wonka --





More information about the fedora-devel-list mailing list