Bug 35796 - rpm 4.0.2 does not "--rebuild" source rpm packages
rpm 4.0.2 does not "--rebuild" source rpm packages
Product: Red Hat Linux
Classification: Retired
Component: rpm-build (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-04-12 05:53 EDT by Frederic Hermann
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-12 05:53:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Frederic Hermann 2001-04-12 05:53:16 EDT
I use 2 RH6.2 i386 boxes. One is a production server, the other a test 

On the test machine, I recently upgrade to rpm-4.0.2 painlessly.

Using rpm-4.0.2, I upgrade some packages including ucd-snmp- 
without any problem. 

I used to rebuild some packages on my test machine to install them on the 
production server (both are HP PIII PC). 

Using rpm-4.0.2 with --rebuild option on BOTH machines, I only get the 
option list : 

[fhermann@obelix test-bug-rpm]$ file *
openssh-2.5.2p2-1.7.2.src.rpm: RPM v4 src i386 openssh-2.5.2p2-1.7.2
xntp3-5.93-15.src.rpm:         RPM v4 src i386 xntp3-5.93-15
[fhermann@obelix test-bug-rpm]$ rpm --rebuild xntp3-5.93-15.src.rpm 
RPM version 4.0.2
Copyright (C) 1998-2000 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL

Usage: rpm {--help}
       rpm {--version}
       rpm {--initdb}   [--dbpath <dir>]
(snip long list of options)
[fhermann@obelix test-bug-rpm]$

I try to use the "--target" option, withour any result. 

if I install the SRC package and try to build it using the -b options, the 
build work correctly

If I downgrade to rpm3, I can rebuild as usual.
Comment 1 Jeff Johnson 2001-04-12 10:42:54 EDT
You need to install the rpm-build package.

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