[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: provides in ~/.rpmrc ? 3.0.6 vs. 4.4.6
- From: Jeff Johnson <n3npq jbj gmail com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: provides in ~/.rpmrc ? 3.0.6 vs. 4.4.6
- Date: Fri, 27 Oct 2006 18:28:46 -0400
On Oct 27, 2006, at 5:54 PM, Kevin Cosgrove wrote:
Hiya,
Back with rpm v. 3.0.6 I could specify things like "provides:
/bin/bash" in my ~/.rpmrc and this was really helpful when using
rpm on Solaris. rpm on Solaris doesn't have any of the standard
OS info in its database, and I would keep track of things that
Solaris provided in ~/.rpmrc on an as needed basis. Of course I
could be using --nodeps but that seems a bit extreme for cases
where some BuildRequires or other Requires really was referring
to something I had packaged.
Now that I've upgraded to rpm 4.4.6 "provides: <something>" in
~/.rpmrc is no longer valid. I've gone through the CHANGES file
and the manual pages, but I can't find anything that indicates
where this functionality moved to, or even if it still exists.
Man, rpm-3.0.6 is a blast from the past.
The new location to "spoof" system provides is
/etc/rpm/sysinfo
same format as
rpm -q --requires popt
output, i.e. dependencies one per-line (file paths like "/bin/sh"
permitted too).
Note that it is now possible to express versions and ranges, not just
existence, with
"spoofed" system Provides:.
And expect the path /etc/rpm/sysinfo to change in rpm-4.4.8, when I
wire up the
ability to express not only Provides:, but also Requires:,
Conflicts:, Obsoletes: and
perhaps triggers, all attached as per-transaction, not per-package,
dependencies.
Not quite there yet ...
73 de Jeff
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]