Would it be possible to get the following change into rpmrc.c ? It allows for finding the rpmrc file via an environement variable, and in some cases is more flexable that the command line arguments. Additionally, it provides a way for non-traditional rpm utilities (ie the the utils distributed with rpm) to have a way of changing the rpmrc location if their authors did not provide a method. The diff is from Panu Matilainen <pmatilai@xxxxxxxxx> --- rpm-4.3.1/lib/rpmrc.c.env 2004-08-05 08:55:12.633345431 +0300 +++ rpm-4.3.1/lib/rpmrc.c 2004-08-05 09:00:01.438388819 +0300 @@ -1735,8 +1735,12 @@ defaultsInitialized = 1; } - if (rcfiles == NULL) - rcfiles = defrcfiles; + if (rcfiles == NULL) { + if (getenv("RPM_RPMRC") == NULL) + rcfiles = defrcfiles; + else + rcfiles = getenv("RPM_RPMRC"); + } /* Read each file in rcfiles. */ rc = 0; -- Aamer Akhter / aakhter@xxxxxxxxx _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list