Bug 35796 - rpm 4.0.2 does not "--rebuild" source rpm packages
Summary: rpm 4.0.2 does not "--rebuild" source rpm packages
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm-build   
(Show other bugs)
Version: 6.2
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-04-12 09:53 UTC by Frederic Hermann
Modified: 2007-04-18 16:32 UTC (History)
0 users

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


Attachments (Terms of Use)

Description Frederic Hermann 2001-04-12 09:53:16 UTC
I use 2 RH6.2 i386 boxes. One is a production server, the other a test 
machine. 

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-4.1.1.1-3 
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 14:42:54 UTC
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.