Re: provides in ~/.rpmrc ? 3.0.6 vs. 4.4.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux