Bug 19156

Summary: rpmdb-redhat SRPM is broken (or rpm is)
Product: [Retired] Red Hat Linux Reporter: Alan Cox <alan>
Component: rpmdb-redhatAssignee: Jeff Johnson <jbj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-15 22:39:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alan Cox 2000-10-15 22:39:21 UTC
With vanilla 7.0 the unpacking of this SRPM fails. Its one of about 6 I've
found so far that dont work. Methinks QA should try a rpm -bp of all the
packages on a release candidate before signing it off

 [root@terrorserver redhat]# rpm -bp --nodeps SPECS/rpmdb-redhat.spec.in 
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.39554
+ umask 022
+ cd /usr/src/redhat/BUILD
+ '[' -d '%{rpmdbtree}' ']'
+ echo 'This specfile needs access to %{rpmdbtree}/i386/Redhat/RPMS'
This specfile needs access to %{rpmdbtree}/i386/Redhat/RPMS
+ exit 1
Bad exit status from /var/tmp/rpm-tmp.39554 (%prep)

Comment 1 Jeff Johnson 2000-10-15 22:49:21 UTC
Unlike other packages, the rpmdb package is intimately coupled with a compose of
an entire
distribution. The macro %{rpmdbtree}  macro is passed from the compose command
line, and
permitting a rebuild of rpmdb outside of a compose requires (as yet
non-existent) conventions
for discovering the packages that are part of the compose.

Comment 2 Alan Cox 2000-10-16 08:29:12 UTC
So why isnt this documented. I also cant find compose on the distribution tree.
Shouldnt  we really be shipping all the tools needed to actually rebuild the
distro ?