Bug 65289

Summary: rpm --rmsource requires BuildRequires: to be satisfied
Product: [Retired] Red Hat Linux Reporter: Michael McLagan <mmclagan>
Component: rpm-buildAssignee: Jeff Johnson <jbj>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
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: 2002-05-21 15:28:32 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 Michael McLagan 2002-05-21 15:28:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.61 [en] (OS/2; U)

Description of problem:
Executing rpm --rmsource --rmspec <specfile> fails when BuildRequires: are not satisfied.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. download passwd src rpm on system without pam-devel
2. rpm -Uvh passwd src rpm
3. cd /usr/src/redhat/SPECS
4. rpm --rmsource --rmspec passwd.spec
	

Actual Results:  error: failed build dependancies:
           pam-devel    is needed by passwd-0.67-1

Expected Results:  Source/spec file removed

Additional info:

Comment 1 Jeff Johnson 2002-05-21 15:53:57 UTC
Add --nodeps if you don't like the behavior.