Bug 2999 - rpmrc provides lines are misdocumented
rpmrc provides lines are misdocumented
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-24 04:20 EDT by Nigel Metheringham
Modified: 2015-01-07 18:37 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-05-25 20:19:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nigel Metheringham 1999-05-24 04:20:33 EDT
If building rpm for a non-RH system you need to load
the rpmrc with dependancy data of the host OS.  This is
documented in the INSTALL file in the source:-

> You may add as many "provides: " lines as you like
> to /etc/rpmrc/ but they can not be continued.
> Each line is limited to 8K bytes.

rpm v3.0 only uses the last "provides:" line in the rpmrc.

Although this is only a documentation bug, the documented
behaviour of rpm would be considerably more sensible.
Comment 1 Jeff Johnson 1999-05-24 11:50:59 EDT
Yes.
Comment 2 Jeff Johnson 1999-05-25 20:19:59 EDT
Fixed in rpm-3.0.2-0.1. You might also look at writing specfiles
for one or more packages with virtual provides, as in
	Name: vpkg1
	Version: 1.0
	Release:
	Provides: /bin/sh
	...
which IMHO is an easier way to manage the same problem. Unlike
using %ghost, doing "rpm -e ..." removes just the provides w/o
removing the files that are provided.

Note You need to log in before you can comment on or make changes to this bug.