I understand that when building a package from src.rpm, RPM groks some system stuff, like libc, that it then lists as "Requires". But how/where does it do this?
Case in point, is one I am trying to put together, but it is automagically requiring /usr/local/bin/perl, which I don't have, and is not referenced in the spec file at all. [root@cadillac tmp]# rpm -qp --requires /usr/src/redhat/RPMS/i686/mon-0.99.2-1.i686.rpm /bin/sh /bin/sh rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 ld-linux.so.2 libc.so.6 /bin/sh /usr/bin/perl /usr/local/bin/perl <----------- WTF? /usr/local/bin/perl5 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) I have completely commented out the 'Requires' line in the spec file, so I am clueless as how to get rid of this. My perl is where RH always puts it (/usr/bin). Spec file header: %define version 0.99.2 %define moncgi_version 1.52 %define release 1 %define name mon %define realname Mon Summary: A general-purpose resource monitoring system. Name: %{name} Version: %{version} Release: %{release} Source0: ftp://ftp.kernel.org/pub/software/admin/mon/%{name}-%{version}.tar.bz2 Source1: %{name}.cf Source2: ftp://ftp.kernel.org/pub/software/admin/mon/contrib/cgi-bin/mon.cgi/%{name}.cgi-%{moncgi_version}.tar.bz2 Source3: ftp://ftp.kernel.org/pub/software/admin/mon/contrib/all-alerts.tar.bz2 Patch0: mon-0.38.20-init.patch Url: http://www.kernel.org/software/mon/ License: GPL Group: System Environment/Daemons Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root/ Prefix: %{_prefix} #Requires: perl-Mon, perl-Period, perl-TimeDate, perl-Time-HiRes, perl-Convert-BER, perl-Net-Telnet, perl ============ This is from a Mdk src.rpm, but I think I got rid of all the Mandrakisms. -- Hal Burgiss _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list